Python Automation & File Handling|
Handle Missing Values

Cleaning Data Rows

Python

Handle Missing Values

Handling Missing Values

Real data often has missing values. Create clean_records(records) that:

  • Filters out records with empty amounts
  • Converts amount strings to floats
  • Sets empty categories to "other"
  • Code Editor
    Loading PYTHON engine...
    Loading...
    Loading Python engine...

    Run your code to see output