diff --git a/ci/code_checks.sh b/ci/code_checks.sh index bebe3b54d9457..10eb3034f4f7e 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -1155,9 +1155,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then MSG='Partially validate docstrings (SA05)' ; echo $MSG $BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=SA05 --ignore_functions \ - pandas.PeriodIndex.asfreq\ - pandas.arrays.ArrowStringArray\ - pandas.arrays.StringArray\ pandas.core.groupby.DataFrameGroupBy.first\ pandas.core.groupby.DataFrameGroupBy.last\ pandas.core.groupby.SeriesGroupBy.first\ diff --git a/pandas/core/arrays/string_.py b/pandas/core/arrays/string_.py index 5a803c9064db9..1b9f803bafc5d 100644 --- a/pandas/core/arrays/string_.py +++ b/pandas/core/arrays/string_.py @@ -315,7 +315,7 @@ class StringArray(BaseStringArray, NumpyExtensionArray): # type: ignore[misc] See Also -------- - :func:`pandas.array` + :func:`array` The recommended function for creating a StringArray. Series.str The string methods are available on Series backed by diff --git a/pandas/core/arrays/string_arrow.py b/pandas/core/arrays/string_arrow.py index ba02c63c00ce4..fc5ce33d641ee 100644 --- a/pandas/core/arrays/string_arrow.py +++ b/pandas/core/arrays/string_arrow.py @@ -105,7 +105,7 @@ class ArrowStringArray(ObjectStringArrayMixin, ArrowExtensionArray, BaseStringAr See Also -------- - :func:`pandas.array` + :func:`array` The recommended function for creating a ArrowStringArray. Series.str The string methods are available on Series backed by diff --git a/pandas/core/indexes/period.py b/pandas/core/indexes/period.py index a7315d40f0236..a970b949750a3 100644 --- a/pandas/core/indexes/period.py +++ b/pandas/core/indexes/period.py @@ -185,7 +185,7 @@ def _resolution_obj(self) -> Resolution: @doc( PeriodArray.asfreq, - other="pandas.arrays.PeriodArray", + other="arrays.PeriodArray", other_name="PeriodArray", **_shared_doc_kwargs, )