Series.setIndex
Assign new Index to Series
danfo.series.setIndex**(options)**
Parameter | Type | Description | Default |
---|---|---|---|
index | Array | new index values | |
options | Object | inplace: Boolean indicating whether to perform the operation inplace or not. Defaults to false | { inplace: false } |
Returns: Series
Example
Set index in-place
Last updated