Lecture 4 - Pandas, Part 1
Presented by Fernando Pérez
Content by Fernando Pérez, Josh Hug
- slides
- video playlist
- code (launch)
- code HTML
- Intro to Pandas if you’ve taken Data 8 (zip)
- Prof. Hug’s Pandas I Lecture Materials
A reminder – the right column of the table below contains Quick Checks. These are not required but suggested to help you check your understanding.
Video | Quick Check | ||||
---|---|---|---|---|---|
4.0 Introduction |
|||||
4.1.1 Pandas data frames, series, and indices. |
4.1.1 | ||||
4.1.2 Pandas indices demo. |
4.1.2 | ||||
4.2 Pandas indexing with the bracket operator. |
4.2 | ||||
4.3 Pandas boolean array selection, the isin function, and the query command. |
4.3 | ||||
4.4.1 Pandas indexing with .loc. |
4.4 | ||||
4.4.2 Pandas indexing with .iloc and Pandas sampling. |
4.4.2 | ||||
4.5.1 Pandas utility functions, properties, and the sort_values method. |
4.5.1/a></td>
</tr>
4.5.2 |
The value_counts and unique methods in Pandas. An exploration of the baby names data set.
| 4.5.2 |
|