pandas.Index.format

Index.format(name=False, formatter=None, na_rep='NaN')[source]

Render a string representation of the Index.