Section 1 - Instruction

We've checked our data's size and previewed some rows. Now, let's get a quick summary of the numbers in our dataset. This helps us understand the data's characteristics at a glance.

Engagement Message

What patterns might you miss if you only looked at individual data points instead of a summary?

Section 2 - Instruction

This summary is called "descriptive statistics." It includes common measures like the average, the minimum value, and the maximum value, giving you a high-level overview of your numerical columns.

Engagement Message

What could the average price of a car tell you?

Section 3 - Instruction

Pandas has a fantastic method for this: .describe(). When you call df.describe(), it automatically calculates key statistics for all numerical columns in your DataFrame. It smartly ignores text columns.

Engagement Message

What kind of columns do you think .describe() would analyze in an employee dataset?

Section 4 - Instruction

Let's see what this looks like in practice. Here's the output from running .describe() on a car dataset:

Engagement Message

What does a small standard deviation tell you about the data?

Section 5 - Instruction
Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal