القيمة الدنيا والعظمى والربيعات
قراءة المدى والمئينات
القيمة الدنيا والعظمى والربيعات درس مجاني في Data Science Academy على CoddyKit. هذا هو الدرس 3 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Data Science Academy، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Data Science Academy 4 دروس في المجموع.
بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.
The Edges of Your Data
Center and spread leave out the extremes. Knowing the smallest and largest values frames the range your data can possibly take. 🔭
Min and Max
The min is the lowest value and the max is the highest. They are your first guard against typos like a negative age or an impossible price.
df["age"].min(), df["age"].max()The Range
Subtract min from max and you get the range, the total width of your data. It is simple but easily wrecked by a single extreme value.
Splitting Sorted Data
Sort your values and cut them into four equal parts. The three cut points are your quartiles, and they describe the data far more robustly.
Q1, the First Quartile
The first quartile Q1 is the 25th percentile. One quarter of your values fall below it, marking the bottom of the bulk.
Q2 Is the Median
The second quartile Q2 is the 50th percentile, which is exactly the median you already met. Half the data sits on each side of it.
Q3, the Third Quartile
The third quartile Q3 is the 75th percentile. Three quarters of values fall below it, so only the top slice lies above.
Asking for a Percentile
The quantile method gives you any cut point you want. Pass 0.25 for Q1 or 0.75 for Q3 directly on a column.
df["score"].quantile(0.75)The Interquartile Range
Subtract Q1 from Q3 and you have the IQR, the spread of the middle half. It ignores the extremes, so outliers cannot inflate it.
The Five-Number Summary
Min, Q1, median, Q3, and max form the five-number summary. Together they sketch the full shape of a distribution in just five values.
Already in describe
You do not compute quartiles by hand. The describe output lists the 25, 50, and 75 percent rows for every numeric column.
df.describe()Quick Check
You want a spread measure that ignores extreme values entirely.
Recap: Range and Quartiles
You can now read the edges with min and max and the inner structure with quartiles and IQR. Five numbers describe a whole distribution. 📊
الأسئلة الشائعة
هل درس «القيمة الدنيا والعظمى والربيعات» مجاني؟
نعم — نص درس «القيمة الدنيا والعظمى والربيعات» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 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 يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.
جميع الدروس في هذه الدورة
- المتوسط والوسيط والمنوال
- التشتت: التباين والانحراف المعياري
- القيمة الدنيا والعظمى والربيعات
- القيم الشاذة وما تعنيه