From 76f5d2d26d77487e65ce40ed3cc266c5ac8f6359 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Fri, 1 Feb 2019 12:24:36 -0600 Subject: [PATCH] clarified the documentation for DF.drop_duplicates (#25056) --- pandas/core/frame.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 78c9f2aa96472..ade05ab27093e 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4625,7 +4625,8 @@ def dropna(self, axis=0, how='any', thresh=None, subset=None, def drop_duplicates(self, subset=None, keep='first', inplace=False): """ Return DataFrame with duplicate rows removed, optionally only - considering certain columns. + considering certain columns. Indexes, including time indexes + are ignored. Parameters ----------