Learn pandas
A free, hands-on pandas course. Create, select, summarise, group, clean and combine tables of data, with exercises you run and check right in your browser. No account needed. Your progress is saved in this browser.
- 1Creating, reading and writingMake DataFrames and Series by hand, read a CSV file, and save your data back to disk. 15 min
- 2Indexing, selecting and assigningPick out the columns, rows and cells you need with [], loc and iloc, filter with conditions, and add new columns. 20 min
- 3Summary functions and mapsDescribe a column in one line, count values, and transform data with map() and apply(). 20 min
- 4Grouping and sortingAnswer questions per group with groupby(), combine several summaries with agg(), and sort tables. 20 min
- 5Data types and missing valuesCheck and change the type of a column, and find, fill or drop missing values. 20 min
- 6Renaming and combiningRename columns and row labels, stack tables with concat(), and join tables with merge(). 20 min