diff --git a/ci/code_checks.sh b/ci/code_checks.sh index c4e43b88a0097..95ff963664cbe 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -865,7 +865,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then MSG='Partially validate docstrings (SA01)' ; echo $MSG $BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=SA01 --ignore_functions \ - pandas.BooleanDtype\ pandas.Categorical.__array__\ pandas.Categorical.as_ordered\ pandas.Categorical.as_unordered\ @@ -1177,7 +1176,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.Series.update\ pandas.Series.var\ pandas.SparseDtype\ - pandas.StringDtype\ pandas.Timedelta\ pandas.Timedelta.as_unit\ pandas.Timedelta.asm8\ diff --git a/pandas/core/arrays/boolean.py b/pandas/core/arrays/boolean.py index e347281a19b9f..813b10eef5e4b 100644 --- a/pandas/core/arrays/boolean.py +++ b/pandas/core/arrays/boolean.py @@ -56,6 +56,10 @@ class BooleanDtype(BaseMaskedDtype): ------- None + See Also + -------- + StringDtype : Extension dtype for string data. + Examples -------- >>> pd.BooleanDtype() diff --git a/pandas/core/arrays/string_.py b/pandas/core/arrays/string_.py index 06c54303187eb..291cc2e62be62 100644 --- a/pandas/core/arrays/string_.py +++ b/pandas/core/arrays/string_.py @@ -92,6 +92,10 @@ class StringDtype(StorageExtensionDtype): ------- None + See Also + -------- + BooleanDtype : Extension dtype for boolean data. + Examples -------- >>> pd.StringDtype()