Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pd df drop duplicates

df.drop_duplicates(subset=['brand', 'style'], keep='last')
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #pd #df #drop #duplicates
ADD COMMENT
Topic
Name
9+2 =