Series.to_string

Series.to_string(buf=None, na_rep='NaN', float_format=None, header=True, index=True, length=False, dtype=False, name=False, max_rows=None, min_rows=None) str | None[source]

Render a string representation of the Series.

Follows pandas implementation except when max_rows=None. In this scenario, we set max_rows=60 to avoid accidentally dumping an entire index. This can be overridden by explicitly setting max_rows.

See Also

:pandas_api_docs:`pandas.Series.to_string`

for argument details.