

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: What Is Pandas?
incomplete
2: Series
incomplete
3: DataFrames
incomplete
4: Derived Columns
incomplete
5: Series vs. DataFrame
incomplete
6: Filtering Data
incomplete
7: The Index in Pandas
incomplete
8: Custom Indexes
incomplete
9: Loading Data
incomplete
10: Inspect Head
incomplete
11: Info & Describe
incomplete
12: Inspecting Workflow
incomplete
13: Data Properties
incomplete
14: Inspecting Columns
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
When you're inspecting a new dataset, here's what "good data" looks like:
object (i.e., text).user_id and userId, something's off.Real-world data is often messy, so you need to know what you're dealing with. If you see any of the issues mentioned above, it's a sign that you need to do some data cleaning before you can conduct any meaningful analysis.
When I start working with a dataset, after loading it into a DataFrame, the first thing I do is run .head(), .info(), and .describe() in that order. For example:
.head() – "Okay, the columns make sense.".info() – "Hmm, 500 null values in the email column seems weird.".describe() – "Wait, the mean price is negative? Must be a bug..."