We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The standard repr for a Series shows the index name:
repr
Series
repr(pd.Series([1], index=pd.Index(["a"], name="idx")))
idx a 1 dtype: int64
but to_string does not:
to_string
pd.Series([1], index=pd.Index(["a"], name="idx")).to_string(name=True)
a 1