Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check for duplicates in a pandas Series

animals = pd.Series(['lama', 'cow', 'lama', 'beetle', 'lama'])
>>> animals.duplicated()
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #check #duplicates #pandas #Series
ADD COMMENT
Topic
Name
3+2 =