Skip to content

Commit 76a20bd

Browse files
DOC: fix SA01 for pandas.arrays.NumpyExtensionArray (#60513)
* DOC: fix SA01 for pandas.arrays.NumpyExtensionArray * Update pandas/core/arrays/numpy_.py Co-authored-by: Matthew Roeschke <[email protected]> --------- Co-authored-by: Matthew Roeschke <[email protected]>
1 parent 990474b commit 76a20bd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
8181
-i "pandas.Timestamp.resolution PR02" \
8282
-i "pandas.Timestamp.tzinfo GL08" \
8383
-i "pandas.arrays.ArrowExtensionArray PR07,SA01" \
84-
-i "pandas.arrays.NumpyExtensionArray SA01" \
8584
-i "pandas.arrays.TimedeltaArray PR07,SA01" \
8685
-i "pandas.core.groupby.DataFrameGroupBy.plot PR02" \
8786
-i "pandas.core.groupby.SeriesGroupBy.plot PR02" \

pandas/core/arrays/numpy_.py

+5
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ class NumpyExtensionArray( # type: ignore[misc]
7171
-------
7272
None
7373
74+
See Also
75+
--------
76+
array : Create an array.
77+
Series.to_numpy : Convert a Series to a NumPy array.
78+
7479
Examples
7580
--------
7681
>>> pd.arrays.NumpyExtensionArray(np.array([0, 1, 2, 3]))

0 commit comments

Comments
 (0)