diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 6532d084aa6fa..9abc6e4245d81 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3421,6 +3421,10 @@ def select_dtypes(self, include=None, exclude=None) -> "DataFrame": * If ``include`` and ``exclude`` have overlapping elements * If any kind of string dtype is passed in. + See Also + -------- + DataFrame.dtypes: Return Series with the data type of each column. + Notes ----- * To select all *numeric* types, use ``np.number`` or ``'number'`` @@ -3468,7 +3472,7 @@ def select_dtypes(self, include=None, exclude=None) -> "DataFrame": 4 1.0 5 2.0 - >>> df.select_dtypes(exclude=['int']) + >>> df.select_dtypes(exclude=['int64']) b c 0 True 1.0 1 False 2.0