Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

duplicate data in python

duplicate_rows_df = df[df.duplicated()]
print("number of duplicate rows: ", duplicate_rows_df.shape)
Source by nbviewer.org #
 
PREVIOUS NEXT
Tagged: #duplicate #data #python
ADD COMMENT
Topic
Name
3+4 =