Data Crunching

Materials for Feb. 21 class on Pythonic number crunching using Scipy, Numpy and Pandas. Homework is in the last couple slides.

csv file for class

Excel file for class

Math cheatsheet

Lecture

Two visual cheatsheets, each with object and dtypes listed:

The slicing graphic below is in reference to a DataFrame obtained by pandas.read_csv("homework.csv")

Pandas slicing

This DataFrame was obtained with pandas.read_csv("homework.csv",index_col=0)

Pandas row-slicing

And a short guide to pandas dtypes:

Dtype Cheatsheet