pandas.DataFrame.drop_duplicates — pandas 0.18.1 documentation (original) (raw)

Parameters:

subset : column label or sequence of labels, optional

Only consider certain columns for identifying duplicates, by default use all of the columns

keep : {‘first’, ‘last’, False}, default ‘first’

take_last : deprecated

inplace : boolean, default False

Whether to drop duplicates in place or to return a copy