diff --git a/ci/code_checks.sh b/ci/code_checks.sh index b01866a6d6c82..8dc0f7c8937dd 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -297,7 +297,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.api.types.is_datetime64_ns_dtype SA01" \ -i "pandas.api.types.is_datetime64tz_dtype SA01" \ -i "pandas.api.types.is_dict_like PR07,SA01" \ - -i "pandas.api.types.is_extension_array_dtype SA01" \ -i "pandas.api.types.is_file_like PR07,SA01" \ -i "pandas.api.types.is_float PR01,SA01" \ -i "pandas.api.types.is_float_dtype SA01" \ diff --git a/pandas/core/dtypes/common.py b/pandas/core/dtypes/common.py index bee8af46baa64..472754c7d3ad0 100644 --- a/pandas/core/dtypes/common.py +++ b/pandas/core/dtypes/common.py @@ -1327,6 +1327,12 @@ def is_extension_array_dtype(arr_or_dtype) -> bool: Third-party libraries may implement arrays or types satisfying this interface as well. + See Also + -------- + pandas.api.types.is_string_dtype : Check whether the provided array or dtype is of the string dtype. + pandas.api.types.is_float_dtype : Check whether the provided array or dtype is of a float dtype. + pandas.api.types.is_integer_dtype : Check whether the provided array or dtype is of an integer dtype. + Examples -------- >>> from pandas.api.types import is_extension_array_dtype