Problem 1: Detect Duplicate Rows
Easypython
Problem Description
Write a Python program that takes a DataFrame and prints the total number of duplicate rows found.
Input
A DataFrame that may contain duplicate rows.
Output
The total count of duplicate rows.
Constraints
- None specific.
Example Input
text{"id": [1, 2, 3, 1], "value": ["A", "B", "C", "A"]}
Example Output
textDuplicate rows: 1
Concepts Covered
duplicated(), sum().