From 97810210429c998674271b0f7f9effc8d60dd76b Mon Sep 17 00:00:00 2001 From: Arthur Laureus Wigo <126365160+arthurlw@users.noreply.github.com> Date: Wed, 26 Feb 2025 09:51:25 -0800 Subject: [PATCH] removed "if we" typo in is_dtype() doc --- pandas/core/dtypes/dtypes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/dtypes/dtypes.py b/pandas/core/dtypes/dtypes.py index 6be6787862654..a02a8b8b110bf 100644 --- a/pandas/core/dtypes/dtypes.py +++ b/pandas/core/dtypes/dtypes.py @@ -1156,7 +1156,7 @@ def __ne__(self, other: object) -> bool: @classmethod def is_dtype(cls, dtype: object) -> bool: """ - Return a boolean if we if the passed type is an actual dtype that we + Return a boolean if the passed type is an actual dtype that we can match (via string or type) """ if isinstance(dtype, str): @@ -1436,7 +1436,7 @@ def __setstate__(self, state) -> None: @classmethod def is_dtype(cls, dtype: object) -> bool: """ - Return a boolean if we if the passed type is an actual dtype that we + Return a boolean if the passed type is an actual dtype that we can match (via string or type) """ if isinstance(dtype, str):