Skip to content

Commit 360597c

Browse files
DOCS: fix docstring validation errors for pandas.Series (#59600)
* DOCS: fix docstring validation errors for pandas.Series * DOCS: fix underline length
1 parent 50c3032 commit 360597c

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

ci/code_checks.sh

-2
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
144144
-i "pandas.Series.std PR01,RT03,SA01" \
145145
-i "pandas.Series.str.wrap RT03,SA01" \
146146
-i "pandas.Series.str.zfill RT03" \
147-
-i "pandas.Series.struct.dtypes SA01" \
148-
-i "pandas.Series.to_markdown SA01" \
149147
-i "pandas.Timedelta.asm8 SA01" \
150148
-i "pandas.Timedelta.ceil SA01" \
151149
-i "pandas.Timedelta.components SA01" \

pandas/core/arrays/arrow/accessors.py

+4
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,10 @@ def dtypes(self) -> Series:
258258
pandas.Series
259259
The data type of each child field.
260260
261+
See Also
262+
--------
263+
Series.dtype: Return the dtype object of the underlying data.
264+
261265
Examples
262266
--------
263267
>>> import pyarrow as pa

pandas/core/series.py

+5
Original file line numberDiff line numberDiff line change
@@ -1617,6 +1617,11 @@ def to_markdown(
16171617
str
16181618
{klass} in Markdown-friendly format.
16191619
1620+
See Also
1621+
--------
1622+
Series.to_frame : Rrite a text representation of object to the system clipboard.
1623+
Series.to_latex : Render Series to LaTeX-formatted table.
1624+
16201625
Notes
16211626
-----
16221627
Requires the `tabulate <https://pypi.org/project/tabulate>`_ package.

0 commit comments

Comments
 (0)