Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

drop duplicate index pandas

df3 = df3[~df3.index.duplicated(keep='first')]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #drop #duplicate #index #pandas
ADD COMMENT
Topic
Name
9+6 =