Dağılımlar: hist, kde, box
Tek bir değişkenin şeklini görme
Dağılımlar: hist, kde, box, CoddyKit'te ücretsiz bir Data Science Academy dersidir. Bu, 4 dersinin 2. dersidir. Aşağıdan dersin tamamını ücretsiz okuyabilir, sonra tarayıcıda yerleşik kod editörü ve 7/24 yapay zeka koçu ile uygulamalı olarak pratik yapabilirsin. Bu, Data Science Academy öğrenme yolunun bir parçasıdır ve ilerlemeniz web ve CoddyKit uygulaması arasında senkronize olur. Data Science Academy kursu toplamda 4 dersten oluşur.
Bu dersin bazı bölümleri henüz çevrilmemiş olup İngilizce olarak gösterilmektedir.
See the Shape of One Column
Before averages, look at the whole spread. A distribution plot shows how often each value appears across a single column.
The Histogram
A histogram drops values into bins and draws a bar for each. Tall bars mark the values that show up most often.
sns.histplot(data=df, x="age")Bins Change the Story
Too few bins hide detail, too many add noise. Adjusting bins tunes how coarse or fine the histogram looks.
sns.histplot(data=df, x="age", bins=20)A Smooth Curve: KDE
A KDE plot draws a smooth curve instead of bars, estimating the density of values. It reveals the overall shape at a glance.
sns.kdeplot(data=df, x="age")Histogram Plus KDE Together
Want both the bars and the smooth line? Add kde=True to a histogram and seaborn overlays the curve for you.
sns.histplot(data=df, x="age", kde=True)Read the Peaks
One hump means a single common range, two humps hint at two groups. The number of peaks often signals hidden subgroups in your data.
The Box Plot
A box plot squeezes the distribution into five numbers: the median, the middle half, and the reach of the data.
sns.boxplot(data=df, y="income")Read the Box and Whiskers
The line inside is the median, the box is the middle 50 percent, and the whiskers stretch toward the typical extremes.
Spot Outliers Instantly
Dots beyond the whiskers are flagged as outliers. Box plots make these unusual values jump right off the screen.
Compare Groups Side by Side
Add a category to x and the box plot splits by group. Now you can compare the spread of income across each team at once.
sns.boxplot(data=df, x="team", y="income")Which Plot, When?
Reach for a histogram or KDE to see shape, and a box plot to compare groups and catch outliers fast.
Quick Check
You want to compare spread across categories and spot outliers.
Recap: Three Views of One Column
You can now read a column three ways: histograms for counts, KDE for smooth shape, and box plots for spread and outliers. 📈
Sıkça Sorulan Sorular
“Dağılımlar: hist, kde, box” dersi ücretsiz mi?
Evet — “Dağılımlar: hist, kde, box” dersin tüm metni burada web'de ücretsiz olarak okunabilir. Etkileşimli olarak pratik yapmak (yerleşik kod editörü ve 7/24 yapay zeka koçu) ve Data Science Academy kursunun geri kalanını açmak için CoddyKit PRO'ya yükselt. Data Science Academy kursu toplamda 4 dersten oluşur.
“Dağılımlar: hist, kde, box” dersinde ne öğreneceğim?
Tek bir değişkenin şeklini görme Data Science Academy ile uygulamalı kodu tarayıcıda doğrudan çalıştırarak pratik yaparsın ve 7/24 yapay zeka koçu dersi çalışırken sorularını yanıtlar.
Data Science Academy öğrenmeye başlamak için deneyim gerekli mi?
Önceden deneyim gerekmez. CoddyKit'te Data Science Academy, başlangıçtan ileri seviyeye kadar yapılandırıldığı için buradan başlayabilir veya başından başlayıp kendi hızında ilerleme yapabilirsin. Bu, 4 dersinin 2. dersidir.
“Dağılımlar: hist, kde, box” dersi ne kadar sürer?
Çoğu CoddyKit dersi yaklaşık 5–10 dakika sürer. Her biri kısa ve etkileşimli olduğu için sabit ilerleme yaparsın ve web ile uygulama arasında tam olarak bıraktığın yerden devam edebilirsin.
Bu Data Science Academy dersinde kod yazıp çalıştırabilir miyim?
Evet. Her Data Science Academy dersi yerleşik bir kod editörü içerir, bu sayede tarayıcıda gerçek kod yazıp çalıştırabilir ve anlık yapay zeka geri bildirimi alırsın — yerel kurulum gerekli değildir.
Bu kursun tüm dersleri
- Ham matplotlib Yerine seaborn Kullanmanın Nedeni
- Dağılımlar: hist, kde, box
- İlişkiler: Saçılım ve Çizgi
- Yüzeyler, Renk Tonu ve Stil