0Pricing
Data Science Academy · Lesson

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.dtypes

All lessons in this course

  1. Find the NaNs Hiding in Your Table
  2. Drop vs Fill: Choosing Wisely
  3. Impute With Mean, Median, or Mode
  4. Fix dtypes and Duplicate Rows
← Back to Data Science Academy