Data analysis with Python
Clean, summarize and chart real-world-style data with pandas and matplotlib, and draw honest conclusions.
1. Thinking about data
What a dataset is, the kinds of values in it, and how to ask questions it can answer.
2. Statistics with plain Python
Mean, median, mode and spread, by hand and with the statistics module.
3. Reading CSV data
Read comma-separated text with Python’s csv module and summarize it.
4. First steps with pandas
Series and DataFrames: tables that know how to summarize themselves.
5. Selecting rows and columns
Pick out exactly the part of the table your question needs.
6. Calculating, sorting and grouping
Add new columns, rank rows, and summarize groups with groupby.
7. Cleaning messy data
Find and handle missing values, fix wrong types, tidy text, and remove duplicates.
8. Combining tables and working with time
Stack and join tables, work with dates, and measure growth.
9. Charts with matplotlib
Line, bar, histogram and scatter charts, each for the question it answers best.
10. Honest conclusions and a final project
Spot misleading charts, separate correlation from causation, and do a full analysis.