bach.Series.reset_index
reset_index
(level=None, drop=False)Drops the current index.
Parameters
level
(Optional[Union[str, Sequence[str]]]) – Removes given levels from index. Removes all levels by defaultdrop
(bool) – if False, the dropped index is added to the data columns of the DataFrame. If True it is removed.
Returns
Series or DataFrame with the index dropped.