pandas · Lesson 4.2 · Pro
Duplicates
Spot repeated rows, drop them, and keep the right copy when the same thing was recorded more than once.
In this lesson
- Exact duplicates
- Duplicates by key
- Keep the latest copy
- Look before you drop
Go Pro to read this lesson
Pro unlocks every lesson and practice problem in SQL, Python, pandas and NumPy, with answers and step-by-step explanations.