19.4 Cleaning Checklist
- Normalise column names
- Strip / standardise categories
- Coerce numerics and dates
- Missing-value policy per column
- Deduplicate on business key
- Outlier / impossible value rules
- 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.
Ravindra Bagale's Tip – मराठी
प्रत्येक नव्या file वर ही checklist त्याच क्रमाने वापरा: column names, categories, types, missing values, duplicates, अशक्य values आणि मग export. प्रत्येक step नंतर len(df) ने rows ची संख्या print करा, म्हणजे drop_duplicates() ने किंवा filter ने नेमक्या किती rows काढल्या ते कळेल. आठवड्यातून एकदा हे snippets copy न करता स्वतः notebook मध्ये type करा, म्हणजे ते लक्षात राहतील.
Ravindra Bagale's Tip – हिंदी
हर नई file पर यह checklist उसी क्रम में अपनाओ: column names, categories, types, missing values, duplicates, असंभव values और फिर export। हर step के बाद len(df) से rows की गिनती print करो, ताकि पता चले कि drop_duplicates() ने या filter ने ठीक कितनी rows हटाईं। हफ़्ते में एक बार ये snippets copy करने के बजाय खुद notebook में type करो, ताकि वे याद रहें।
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.