Module 2: Not So Scary Wrangling (Table Manipulation and Chaining)¶
In this module, you will learn how to import different types of files, perform more advanced table manipulations (modifying and creating new columns) as well as method chaining conventions (style, including multi-line).
Module Learning Outcomes¶
By the end of the module, students are expected 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.