Module 1: Python & Pandas - An Unexpected Friendship

In this module you will be introduced to dataframes, the Python Pandas package and learn how to manipute data.

Module Learning Outcomes

By the end of the module, students are expected to:

  • Describe the components of a Dataframe.

  • Read a standard .csv file using Pandas pd.read_csv().

  • Load the pandas library into Python.

  • Demonstrate indexing and slicing with .loc[] and .iloc[].

  • Demonstrate Selecting columns of a dataframe using df[] notation.

  • Obtain values from a dataframe using .loc[].

  • Sort a dataframe using .sort_values().

  • Create simple summary statistics using .describe().

  • Construct simple visualizations using Altair.

  • Create a .csv file from a dataframe using .to_csv().

Accompanied Video