Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

df index drop duplicates

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