(options?: { inplace?: boolean })
| 931 | */ |
| 932 | resetIndex(options?: { inplace?: boolean }): Series |
| 933 | resetIndex(options?: { inplace?: boolean }): Series | void { |
| 934 | const { inplace } = { inplace: false, ...options } |
| 935 | |
| 936 | if (inplace) { |
| 937 | this.$resetIndex(); |
| 938 | } else { |
| 939 | const sf = this.copy(); |
| 940 | sf.$resetIndex(); |
| 941 | return sf; |
| 942 | } |
| 943 | } |
| 944 | |
| 945 | /** |
| 946 | * Set the Series index (row labels) using an array of the same length. |
nothing calls this directly
no test coverage detected