Skip to content

Module 2 Lesson 2 - Future content suggestions #31

Description

@jellomoat

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions