Skip to content

Commit 8427640

Browse files
committed
DOCS: fix docstring validation errors for pandas.Series
1 parent 224c6ff commit 8427640

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
159159
-i "pandas.Series.str.replace SA01" \
160160
-i "pandas.Series.str.wrap RT03,SA01" \
161161
-i "pandas.Series.str.zfill RT03" \
162-
-i "pandas.Series.struct.dtypes SA01" \
163-
-i "pandas.Series.to_markdown SA01" \
164162
-i "pandas.Timedelta.asm8 SA01" \
165163
-i "pandas.Timedelta.ceil SA01" \
166164
-i "pandas.Timedelta.components SA01" \

pandas/core/arrays/arrow/accessors.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,10 @@ def dtypes(self) -> Series:
244244
pandas.Series
245245
The data type of each child field.
246246
247+
See Also
248+
-------
249+
Series.dtype: Return the dtype object of the underlying data.
250+
247251
Examples
248252
--------
249253
>>> import pyarrow as pa

pandas/core/series.py

Lines changed: 5 additions & 0 deletions
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)