Skip to content

Commit

Permalink
DOC: fix SA01 for pandas.arrays.NumpyExtensionArray
Browse files Browse the repository at this point in the history
  • Loading branch information
karnbirrandhawa committed Dec 7, 2024
1 parent 8a286fa commit 9a3899f
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 @@ -82,7 +82,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.Timestamp.tzinfo GL08" \
-i "pandas.arrays.ArrowExtensionArray PR07,SA01" \
-i "pandas.arrays.IntervalArray.length SA01" \
-i "pandas.arrays.NumpyExtensionArray SA01" \
-i "pandas.arrays.TimedeltaArray PR07,SA01" \
-i "pandas.core.groupby.DataFrameGroupBy.boxplot PR07,RT03,SA01" \
-i "pandas.core.groupby.DataFrameGroupBy.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 9a3899f

Please sign in to comment.