0Pricing
Data Science Academy · درس

أحادي المتغير ثم ثنائي المتغير

من الأعمدة المفردة إلى العلاقات

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

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

One Column, Then Two

Good EDA has an order. First understand each column alone, then study how pairs move together. Start univariate, finish bivariate. 📊

What Univariate Means

Looking at a single column on its own is univariate analysis. You ask what is typical and how spread out the values are.

Histograms Show Shape

For one numeric column, a histogram reveals its shape: bell, skewed, or lumpy. Shape hints at how to model it later.

df["age"].hist()

Bar Charts for Categories

For a single label column, a bar chart of value_counts shows which categories dominate and which are rare.

df["plan"].value_counts().plot.bar()

Center and Spread

Each numeric column has a center, like the mean, and a spread, like the standard deviation. Together they summarize it in two numbers.

Now Compare Two Columns

Once columns make sense alone, study pairs. Bivariate analysis asks whether two variables rise and fall together.

Number vs Number

For two numeric columns, a scatter plot shows whether they trend together, oppose, or scatter with no link at all.

df.plot.scatter(x="tenure", y="charges")

Category vs Number

To compare a number across groups, group then summarize. A grouped mean shows how charges differ by plan in one line.

df.groupby("plan")["charges"].mean()

Category vs Category

For two label columns, a crosstab counts every combination, so you can see which pairs appear together often.

pd.crosstab(df["plan"], df["churn"])

Quantify the Link

A scatter hints, but a number confirms. The correlation between two numeric columns measures how tightly they move together.

df["tenure"].corr(df["charges"])

Always Build Up in Order

Jumping to relationships before knowing each column hides traps. The univariate-first order keeps your conclusions trustworthy.

Quick Check

You want to see if two numeric columns move together.

Recap: Single Then Paired

You explore one column with histograms and bars, then pairs with scatters, groupings, and correlation. Order keeps insights honest. ✅

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

هل درس «أحادي المتغير ثم ثنائي المتغير» مجاني؟

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

ماذا ستتعلم في «أحادي المتغير ثم ثنائي المتغير»؟

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

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

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

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

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

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

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

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

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