

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 4
click for more info
Not enough gems
Cost: 6 gems
1: Welcome to Pandas
incomplete
2: Data Types
incomplete
3: Data Analytics Workflow
incomplete
4: Dates and Times
incomplete
5: Datetime Math
incomplete
6: Comparing Dates
incomplete
7: List Comprehensions
incomplete
8: Dictionary Comprehensions
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
Data work gets messy fast.
If you try to do everything at once, you'll miss bugs, skip edge cases, and build analysis on top of bad data. That's why I think about data work using these seven steps.
Click to play video
Get the data from wherever it lives. Common sources:
The worst part of extraction is often not the code – it's getting access in the first place. Credentials, tokens, permissions... delightful.
Before you touch the data, look at it. You want quick answers to questions like:
Fix the obvious problems. That usually means:
People use the word normalize here a lot. That's fine in practice, just know it means something more specific in database design.
Now make the data more useful by reshaping it for analysis or storage. Common transformations:
Roll the raw data up into summaries. This is how you get from "a mountain of records" to "something the product team can use in Excel." Examples:
Now dig in to answer the actual question, things like:
Hand the results to "stakeholders" (corpo-speak for "people that care"). This might take the form of:
As a data analyst at a music streaming service, your workflow end-to-end might look like this:
minutes_played field and standardize artist namesIn real-world data work, you'll spend most of your time in Extract, Clean, and Transform. That's why the industry is obsessed with ETL/ELT pipelines.