From 25046271555b6f2db112b0ad6123e56342362d3c Mon Sep 17 00:00:00 2001 From: Tuhin Sharma Date: Wed, 5 Feb 2025 13:33:37 +0530 Subject: [PATCH] DOC: fix ES01 for pandas.DataFrame.select_dtypes --- pandas/core/frame.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index b715e526e0f33..b36791e6e1dd1 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4793,6 +4793,10 @@ def select_dtypes(self, include=None, exclude=None) -> DataFrame: """ Return a subset of the DataFrame's columns based on the column dtypes. + This method allows for filtering columns based on their data types. + It is useful when working with heterogeneous DataFrames where operations + need to be performed on a specific subset of data types. + Parameters ---------- include, exclude : scalar or list-like