DataFrame.drop_duplicates(self, subset=None, keep='first', inplace=False)
[source]
Return DataFrame with duplicate rows removed, optionally only considering certain columns. Indexes, including time indexes are ignored.
Parameters: |
|
---|---|
Returns: |
|
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.DataFrame.drop_duplicates.html