Python intro

*Note to all users: As of 07/14/2019, all posts have been moved to (and are being updated at . I don’t have plans to shut this site down, but I have no idea how long it will be maintained by the university in the future.*

Getting started with Python

Helpful, lengthy explanation of indexes and slices in arrays:


Numpy is a library for arrays.

Numpy basics:

More explanation of data types (numpy):

Why do we want to use numpy vs regular python lists?


Pandas is a python library for data frames. Understanding the basics of numpy will be helpful before getting into pandas.

Pandas introduction:

And another:

Selecting data in a dataframe (iloc):

Tutorial Challenge from 10/05/18 – Prompt and corresponding code