# Finding and Removing Duplicates

duplicated marks every row that repeats one before it, on every column or only on the columns named in subset, drop_duplicates removes those rows and keep says which copy stays, and choosing the columns is how a double entry is told apart from two real visits.

![Cheat sheet: Finding and Removing Duplicates](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/45e16ecc5e9a4d129dc7af0ee9173582.webp)

- Category: Data Analysis
- Level: Apprentice
- Tags: drop_duplicates(), Duplicate Row, duplicated(), python
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/pandas-duplicates-cheat-sheet
