0Pricing
Data Science Academy · درس

تحليل كل عمود

الأنواع والنطاقات وعدد القيم الفريدة في لمحة

تحليل كل عمود درس مجاني في Data Science Academy على CoddyKit. هذا هو الدرس 2 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Data Science Academy، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Data Science Academy 4 دروس في المجموع.

بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.

Meet Every Column First

Before any fancy analysis, get to know each field. Profiling means learning each column's type, range, and quirks one by one. 🔍

Start With info

One call gives you column names, counts, and dtypes at a glance. Run info the moment a DataFrame loads to see its skeleton.

df.info()

Check the dtypes

Numbers stored as text break your math silently. Reading the dtype of each column tells you what needs converting before analysis.

df.dtypes

Numbers Versus Categories

Treat columns by their kind. Numeric fields get means and ranges, while categorical fields get counts of each label.

describe for Numbers

For numeric columns, one call summarizes count, mean, min, and quartiles. Use describe to spot impossible values fast.

df.describe()

Count Unique Values

How many distinct entries does a column hold? nunique separates an ID column from a small category in one number.

df.nunique()

value_counts for Categories

To profile a label column, tally each value. value_counts shows the most common categories and surprise typos at once.

df["plan"].value_counts()

Find Missing Values Early

Gaps in a column change what is trustworthy. Counting nulls per column shows where data is thin before you rely on it.

df.isna().sum()

Sanity-Check the Ranges

Ask if each min and max makes sense. A negative age or a future date is a red flag you want to catch during profiling.

Peek at Real Rows

Summaries hide texture, so look at actual examples too. A quick sample of rows reveals formatting issues numbers alone miss.

df.sample(5)

Build a Column Inventory

Jot a one-line note per column: its meaning, type, and any issue. This inventory becomes your map for every later step.

Quick Check

You want the frequency of each category in a label column.

Recap: Know Each Column

You now profile with info, describe, nunique, and value_counts, then check nulls and ranges. This inventory grounds the analysis ahead. ✅

الأسئلة الشائعة

هل درس «تحليل كل عمود» مجاني؟

نعم — نص درس «تحليل كل عمود» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Data Science Academy، انتقل إلى CoddyKit PRO. تتضمن دورة Data Science Academy 4 دروس في المجموع.

ماذا ستتعلم في «تحليل كل عمود»؟

الأنواع والنطاقات وعدد القيم الفريدة في لمحة تتمرن على Data Science Academy مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.

هل أحتاج إلى خبرة سابقة لأبدأ Data Science Academy؟

لا تُشترط خبرة سابقة. Data Science Academy على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 2 من أصل 4.

كم من الوقت يستغرق درس «تحليل كل عمود»؟

معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.

هل يمكنني كتابة وتشغيل أكواد في درس Data Science Academy هذا؟

نعم. كل درس في Data Science Academy يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.

جميع الدروس في هذه الدورة

  1. حدّد الأسئلة أولًا
  2. تحليل كل عمود
  3. أحادي المتغير ثم ثنائي المتغير
  4. دوّن ما توصلت إليه
← العودة إلى Data Science Academy