Homework 1#
General assignment information. Note that this isn’t a template notebook, hence there’s no 🚀 above. You will create a blank notebook for this one.
Tutorials#
Coding#
You’ll complete this assignment using pandas. Steps:
-
It must have at least one numeric column.
Don’t spend too long on this step.
If there’s more than one numeric column, pick one.
Create a new notebook.
Read in the data.
Compute:
The mean
The median
The mode
Do a
groupby()
with an aggregation.
Tutorials, continued#
Read The Joys (and Woes) of the Craft of Software Engineering
Note not everything in there is applicable to data analysis
Filtering/indexing
DataFrame
sLearn about functions
Coding Style Guides - Please skim these; I don’t expect you to understand and follow everything in them. The most important guidelines to pay attention to are indentation and keeping each statement on its own line.
Optional#
Glance through pandas’ comparison with other tools for any you are familiar with
More on indexing:
Participation#
Reminder about the between-class participation requirement.