Fix dtypes and Duplicate Rows
Coercing types and dropping repeats.
Clean Goes Beyond Gaps
Filling missing values is only half the job. Clean data also needs correct dtypes and no accidental duplicate rows muddying your counts. 🧹
What a dtype Is
Every column has a dtype, its data type, like int, float, object, or datetime. The dtype controls which operations the column even allows.
df.dtypesAll lessons in this course
- Find the NaNs Hiding in Your Table
- Drop vs Fill: Choosing Wisely
- Impute With Mean, Median, or Mode
- Fix dtypes and Duplicate Rows