Skip to content

Commit a6877d8

Browse files
fix SA01 error for pandas.ArrowDtype (#57613)
* fix SA01 error for pandas.ArrowDtype, and update link to :ref: format * revert url change
1 parent c918623 commit a6877d8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
11101110

11111111
MSG='Partially validate docstrings (SA01)' ; echo $MSG
11121112
$BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=SA01 --ignore_functions \
1113-
pandas.ArrowDtype\
11141113
pandas.BooleanDtype\
11151114
pandas.Categorical.__array__\
11161115
pandas.Categorical.as_ordered\

pandas/core/dtypes/dtypes.py

+4
Original file line numberDiff line numberDiff line change
@@ -2076,6 +2076,10 @@ class ArrowDtype(StorageExtensionDtype):
20762076
-------
20772077
ArrowDtype
20782078
2079+
See Also
2080+
--------
2081+
DataFrame.convert_dtypes : Convert columns to the best possible dtypes.
2082+
20792083
Examples
20802084
--------
20812085
>>> import pyarrow as pa

0 commit comments

Comments
 (0)