Satırlar, Sütunlar ve Dizin
Bir DataFrame için zihinsel model oluşturun.
Satırlar, Sütunlar ve Dizin, CoddyKit'te ücretsiz bir Data Science Academy dersidir. Bu, 4 dersinin 1. 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.
A Table You Can Code
A DataFrame is pandas' spreadsheet in code: rows and columns of data you can slice, sort, and compute on instantly. 📊
Two Axes, One Grid
Every DataFrame has two axes: rows run top to bottom, columns run left to right. Together they form one tidy grid of values.
Columns Are the Variables
Each column holds one variable, like price or city, and shares a single data type. Think of a column as one measured thing.
Rows Are the Records
Each row is one record: a customer, a day, a sale. Read a row across and you get the full story of one observation.
Meet the Index
The index is the label down the left side that names every row. By default it counts 0, 1, 2, but it can be anything unique.
df.indexColumns Have Labels Too
The column headers form their own label set, the columns attribute. You select data by these names instead of guessing positions.
df.columnsShape Tells the Size
The shape attribute returns rows and columns as a pair. shape[0] is your row count, shape[1] is your column count.
df.shape # (rows, cols)One Column Is a Series
Pull a single column and pandas hands you a Series: a one-dimensional labeled array. A DataFrame is really a stack of Series.
df["price"]Set a Meaningful Index
You can promote a column to be the index when it identifies rows, like an order id. It makes lookups clearer and faster.
df.set_index("order_id")Labels Drive Everything
Pandas aligns and joins data by labels, not row order. That is why a thoughtful index quietly powers most of your analysis.
Reset When You Need To
Need a plain counting index back? reset_index moves the current index into a column and gives you fresh 0-based labels.
df.reset_index()Quick Check
Time to test the mental model of a DataFrame.
Recap: The DataFrame Map
Rows are records, columns are variables, and the index labels every row. Know this map and the rest of pandas clicks. 🗺️
Sıkça Sorulan Sorular
“Satırlar, Sütunlar ve Dizin” dersi ücretsiz mi?
Evet — “Satırlar, Sütunlar ve Dizin” 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.
“Satırlar, Sütunlar ve Dizin” dersinde ne öğreneceğim?
Bir DataFrame için zihinsel model oluşturun. 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 1. dersidir.
“Satırlar, Sütunlar ve Dizin” 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
- Satırlar, Sütunlar ve Dizin
- Sıfırdan DataFrame Oluşturma
- head, info ve describe
- Sütun Ekleme, Yeniden Adlandırma ve Silme