Series.resetIndex
Reset the index of a series.
danfo.series.resetIndex(options)
Parameters | Type | Description | Default |
---|---|---|---|
options | Object | inplace: Boolean indicating whether to perform the operation inplace or not. Defaults to false | { inplace:false} |
resetIndex
is useful when the index needs to be treated as a column, or when the index is meaningless and needs to be reset to default, before another operation.
Reset index to default values
Reset index to new values in-place
Last updated