Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas drop duplicates from column

data = data.drop_duplicates(subset=['City'], keep='first')
Source by duckduckgo.com #
 
PREVIOUS NEXT
Tagged: #pandas #drop #duplicates #column
ADD COMMENT
Topic
Name
9+9 =