Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas duplicated rows count

import pandas as pd

# Shows count of all the rows with duplicate values

df.duplicated(keep=False).sum()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #duplicated #rows #count
ADD COMMENT
Topic
Name
8+1 =