Skip to content

After Filtering, No Handling for Empty Datasets #3

@korkmazthe1

Description

@korkmazthe1

Hey! Great work! Loved your project.

One thing that I could suggest is that in the dashboard.py file, the "update_pollution_plot" function, even though the code checks whether users typed valid cities, etc., it doesn't actually check whether the data for that valid input exists or not. (e.g. does the data exist for the selected date range?) A if filtered_df.empty: statement could be useful.

Congratulations!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions