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"
script.py
Loading PYTHON engine...
Downloading Python… (one-time, ~10 MB)

Downloading Python… (one-time, ~10 MB)

This runs entirely in your browser and is cached for next time.