What Did we Learn and What to Expect in Assignment 2

Summary

Students are now expected to be able to:

  • Demonstrate how to rename columns of a dataframe using .rename().
  • Create new or columns in a dataframe using .assign() notation.
  • Drop columns in a dataframe using .drop()
  • Use df[] notation to filter rows of a dataframe.
  • Calculate summary statistics on grouped objects using .groupby() and .agg().
  • Explain when chaining is appropriate.
  • Demonstrate chaining over multiple lines and verbs.

Attribution

The cereal dataset:

80 Cereals” (c) by Chris Crawford is licensed under Creative Commons Attribution-ShareAlike 3.0 Unported

On to Assignment 2!