diff --git a/pandas/core/frame.py b/pandas/core/frame.py index f530466c0fc30..da354cbfc80dd 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -6506,6 +6506,11 @@ def drop_duplicates( DataFrame or None DataFrame with duplicates removed or None if ``inplace=True``. + Notes + ------- + This method requires columns specified by ``subset`` to be of hashable type. + Passing unhashable columns will raise a ``TypeError``. + See Also -------- DataFrame.value_counts: Count unique combinations of columns.