diff --git a/ci/code_checks.sh b/ci/code_checks.sh index a6447ffe86630..5cd93a371ca25 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -220,7 +220,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Series.to_dict SA01" \ -i "pandas.Series.to_frame SA01" \ -i "pandas.Series.to_markdown SA01" \ - -i "pandas.Series.to_string SA01" \ -i "pandas.Series.update PR07,SA01" \ -i "pandas.Timedelta PR07,SA01" \ -i "pandas.Timedelta.as_unit SA01" \ diff --git a/pandas/core/series.py b/pandas/core/series.py index 918a4424e1ed9..8921694e43607 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -1491,6 +1491,13 @@ def to_string( str or None String representation of Series if ``buf=None``, otherwise None. + See Also + -------- + Series.to_dict : Convert Series to dict object. + Series.to_frame : Convert Series to DataFrame object. + Series.to_markdown : Print Series in Markdown-friendly format. + Series.to_timestamp : Cast to DatetimeIndex of Timestamps. + Examples -------- >>> ser = pd.Series([1, 2, 3]).to_string()