pandas.Index.format

Index.format(self, name: bool = False, formatter: Union[Callable, NoneType] = None, na_rep: str = 'NaN') → List[str][source]

Render a string representation of the Index.