Ravindra BagaleCourses & study guides मराठी Track your progress

19. Cheat Sheet

Data Science

19.4 Cleaning Checklist

  1. Normalise column names
  2. Strip / standardise categories
  3. Coerce numerics and dates
  4. Missing-value policy per column
  5. Deduplicate on business key
  6. Outlier / impossible value rules
  7. Export clean CSV + log counts

Ravindra Bagale's Tip

Follow this checklist in the same order on every new file: column names, categories, types, missing values, duplicates, impossible values, then export. After each step, print the row count with len(df), so you know exactly how many rows drop_duplicates() or a filter removed. Once a week, type these snippets yourself in a notebook instead of copying them, so they stay in memory.

Thodkyaat sangaycha tar (quick recap)

  • Keep this page bookmarked while doing Chapter 16–17 drills
  • Prefer named agg, left merge audits, dayfirst dates, savefig PNGs

Samajla ka? Aata pudhe jaauya glossary.