details the questions for this problem set are part of the following j
Question
Details
The questions for this problem set are part of the following Jupyter Notebook: PS2.ipynb
Please turn in both a PDF And HTML version of your completed notebook.
In order to get full credit, you must comment all of your code so that it illustrates that you understand what the code is accomplishing.
For example, let's say we run the following lines of code
df['greater than_zero'] = False
df.loc [df.count > 0, 'greater than_zero'] = True
You should comment it as follows:
# The next two lines of code create a new column and then assign a value to that new column based off of the condition that df.count > 0
df['greater than_zero'] = False
df.loc[df.count > 0, 'greater_than_zero'] = True