first ocurrance of duplicate pandas code example
Example: return the first occurence of duplicates pandas
DataFrame.drop_duplicates(subset=None, keep='first', inplace=False)[source]
DataFrame.drop_duplicates(subset=None, keep='first', inplace=False)[source]