# Duplicate Row

*noun*

say it: **“DOO-plih-kit ROH”** **/ˈdupləkət ˈroʊ/**

A row in a table that repeats another row, so the same thing is counted twice.

## What is a **duplicate row**?

A **duplicate row** repeats an earlier row: in every column, or in the columns that make two rows the same event,
such as the same animal ID and intake date typed in twice. Duplicates count one thing twice, so they're found and
removed before any totals.

```python
import pandas as pd
intake = pd.read_csv("intake.csv")
print("exact copies:", intake.duplicated().sum())
print("same animal, same day:", intake.duplicated(subset=["animal_id", "intake_date"]).sum())
```

## In a sentence

- “The volunteer saved the form twice, leaving a **duplicate row** for the same cat.”
- “Each **duplicate row** made the month's intake count one too high.”

Level: Apprentice · [More Python terms at this level](https://www.ask-codey.com/glossary?category=python&level=2)

Updated: November 19, 2026

Source: https://www.ask-codey.com/glossary/duplicate-row
