MCPcopy
hub / github.com/pandas-dev/pandas / reset_index

Method reset_index

pandas/core/series.py:1259–1267  ·  view source on GitHub ↗
(
        self,
        level: IndexLabel = ...,
        *,
        drop: Literal[False] = ...,
        name: Level = ...,
        inplace: Literal[False] = ...,
        allow_duplicates: bool = ...,
    )

Source from the content-addressed store, hash-verified

1257
1258 @overload
1259 def reset_index(
1260 self,
1261 level: IndexLabel = ...,
1262 *,
1263 drop: Literal[False] = ...,
1264 name: Level = ...,
1265 inplace: Literal[False] = ...,
1266 allow_duplicates: bool = ...,
1267 ) -> DataFrame: ...
1268
1269 @overload
1270 def reset_index(

Calls 7

to_frameMethod · 0.95
validate_bool_kwargFunction · 0.90
default_indexFunction · 0.90
__finalize__Method · 0.80
_get_level_numberMethod · 0.45
droplevelMethod · 0.45
copyMethod · 0.45