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

Method reset_index

pandas/core/frame.py:7066–7076  ·  view source on GitHub ↗
(
        self,
        level: IndexLabel = ...,
        *,
        drop: bool = ...,
        inplace: Literal[False] = ...,
        col_level: Hashable = ...,
        col_fill: Hashable = ...,
        allow_duplicates: bool | lib.NoDefault = ...,
        names: Hashable | Sequence[Hashable] | None = None,
    )

Source from the content-addressed store, hash-verified

7064
7065 @overload
7066 def reset_index(
7067 self,
7068 level: IndexLabel = ...,
7069 *,
7070 drop: bool = ...,
7071 inplace: Literal[False] = ...,
7072 col_level: Hashable = ...,
7073 col_fill: Hashable = ...,
7074 allow_duplicates: bool | lib.NoDefault = ...,
7075 names: Hashable | Sequence[Hashable] | None = None,
7076 ) -> DataFrame: ...
7077
7078 @overload
7079 def reset_index(

Calls 9

validate_bool_kwargFunction · 0.90
default_indexFunction · 0.90
copyMethod · 0.45
_get_level_numberMethod · 0.45
droplevelMethod · 0.45
takeMethod · 0.45
insertMethod · 0.45