Skip to content

part 3 pandas issue #21

Open
Open
@paulbsalamanca

Description

@paulbsalamanca

Finished up pt 3 with Farnam:

  1. some issues with "Applying a Function" in Step 3. certain Pandas versions seem to have issues with making a new column in this way:
    df['above_poverty_line'] = df['poverty_level'].apply(assign_level). need to use .loc

  2. might be useful to add more reinforcement about the difference between attributes and methods, e.g., why df.shape vs. df.info()

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