Skip to content

Commit 9b22b12

Browse files
DOC: Enforce Numpy Docstring Validation for pandas.Series (#58525)
* DOC: add SA01 for pandas.Series * DOC: remove SA01 for pandas.Series
1 parent 158caa6 commit 9b22b12

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
@@ -164,7 +164,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
164164
-i "pandas.RangeIndex.start SA01" \
165165
-i "pandas.RangeIndex.step SA01" \
166166
-i "pandas.RangeIndex.stop SA01" \
167-
-i "pandas.Series SA01" \
168167
-i "pandas.Series.__iter__ RT03,SA01" \
169168
-i "pandas.Series.add PR07" \
170169
-i "pandas.Series.case_when RT03" \

pandas/core/series.py

+5
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,11 @@ class Series(base.IndexOpsMixin, NDFrame): # type: ignore[misc]
262262
copy : bool, default False
263263
Copy input data. Only affects Series or 1d ndarray input. See examples.
264264
265+
See Also
266+
--------
267+
DataFrame : Two-dimensional, size-mutable, potentially heterogeneous tabular data.
268+
Index : Immutable sequence used for indexing and alignment.
269+
265270
Notes
266271
-----
267272
Please reference the :ref:`User Guide <basics.series>` for more information.

0 commit comments

Comments
 (0)