Skip to content

Commit ab12958

Browse files
DOC: add SA01 for pandas.Series.to_string (#58779)
1 parent e7124c7 commit ab12958

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
220220
-i "pandas.Series.to_dict SA01" \
221221
-i "pandas.Series.to_frame SA01" \
222222
-i "pandas.Series.to_markdown SA01" \
223-
-i "pandas.Series.to_string SA01" \
224223
-i "pandas.Series.update PR07,SA01" \
225224
-i "pandas.Timedelta.as_unit SA01" \
226225
-i "pandas.Timedelta.asm8 SA01" \

pandas/core/series.py

+7
Original file line numberDiff line numberDiff line change
@@ -1491,6 +1491,13 @@ def to_string(
14911491
str or None
14921492
String representation of Series if ``buf=None``, otherwise None.
14931493
1494+
See Also
1495+
--------
1496+
Series.to_dict : Convert Series to dict object.
1497+
Series.to_frame : Convert Series to DataFrame object.
1498+
Series.to_markdown : Print Series in Markdown-friendly format.
1499+
Series.to_timestamp : Cast to DatetimeIndex of Timestamps.
1500+
14941501
Examples
14951502
--------
14961503
>>> ser = pd.Series([1, 2, 3]).to_string()

0 commit comments

Comments
 (0)