Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module 2 Lesson 2 - Future content suggestions #31

Open
jellomoat opened this issue Jun 27, 2024 · 0 comments
Open

Module 2 Lesson 2 - Future content suggestions #31

jellomoat opened this issue Jun 27, 2024 · 0 comments

Comments

@jellomoat
Copy link
Member

jellomoat commented Jun 27, 2024

LOCATION
pandas.ipynb

  • Selecting Rows
  • Challenge 4: Subsetting and Calculating the Mean
  • Demo: Grouping and Plotting Data Frames

SUGGESTION 1

  • In Selecting Rows, there's an example of creating a new dataframe containing a subset of the original df.
  • This might be a good place to mention deep vs shallow copies, as people may encounter related errors when working with views/copies of the original df.

SUGGESTION 2

  • Challenge 4 requires calculating the mean score of a subset of the df.
  • The subsequent section mentions grouping and demonstrates using grouping in the context of plots.
  • Expanding Challenge 4 to familiarize folks with .groupby() could bridge these two sections. So, for example, asking folks to group by flair_text and output mean scores for each group, after doing so for a single subset.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant