Skip to content

Commit

Permalink
DOC: fix SA01 for pandas.arrays.NumpyExtensionArray (pandas-dev#60513)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
2 people authored and gmcrocetti committed Jan 3, 2025
1 parent b1e732e commit 87f0eb3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.Timestamp.resolution PR02" \
-i "pandas.Timestamp.tzinfo GL08" \
-i "pandas.arrays.ArrowExtensionArray PR07,SA01" \
-i "pandas.arrays.NumpyExtensionArray SA01" \
-i "pandas.arrays.TimedeltaArray PR07,SA01" \
-i "pandas.core.groupby.DataFrameGroupBy.plot PR02" \
-i "pandas.core.groupby.SeriesGroupBy.plot PR02" \
Expand Down
5 changes: 5 additions & 0 deletions pandas/core/arrays/numpy_.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ class NumpyExtensionArray( # type: ignore[misc]
-------
None
See Also
--------
array : Create an array.
Series.to_numpy : Convert a Series to a NumPy array.
Examples
--------
>>> pd.arrays.NumpyExtensionArray(np.array([0, 1, 2, 3]))
Expand Down

0 comments on commit 87f0eb3

Please sign in to comment.