Pandas

Aims & Outcomes:

  1. Use DataFrames

  2. Use introspection to look at the methods that can be applied

  3. Learn how to look up the documentation / manuals

Pandas is the foundational package for data analysis in python.

Lecture Resource

Here is the QuantEcon lecture on Pandas

Note

You will be spending a lot more time with pandas in additional sessions so don’t worry if this preview feels too quick. We will go through each object much more slowly in this afternoon’s Session 4 with Chase.

It is the workhorse package for any work with data in python.

Tip

The official pandas manual is an excellent and well maintained reference manual

We will work through the following pandas demo notebook.

Local Option

You can download the notebook from here

You can get the supplementary image files here

Then browse to your download location and load jupyter:

cd ~/Downloads
jupyter notebook intro-to-pandas.ipynb

Cloud Based Option

You can launch the notebook