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

Method set_index

pandas/core/frame.py:6802–6810  ·  view source on GitHub ↗
(
        self,
        keys,
        *,
        drop: bool = ...,
        append: bool = ...,
        inplace: Literal[False] = ...,
        verify_integrity: bool | lib.NoDefault = ...,
    )

Source from the content-addressed store, hash-verified

6800
6801 @overload
6802 def set_index(
6803 self,
6804 keys,
6805 *,
6806 drop: bool = ...,
6807 append: bool = ...,
6808 inplace: Literal[False] = ...,
6809 verify_integrity: bool | lib.NoDefault = ...,
6810 ) -> DataFrame: ...
6811
6812 @overload
6813 def set_index(

Callers 15

setupMethod · 0.95
setupMethod · 0.95
readMethod · 0.95
readMethod · 0.95
test_as_index_falseMethod · 0.95
test_monotonic_onMethod · 0.95

Calls 11

find_stack_levelFunction · 0.90
validate_bool_kwargFunction · 0.90
_cleanupMethod · 0.80
appendMethod · 0.45
copyMethod · 0.45
_get_level_valuesMethod · 0.45
addMethod · 0.45
uniqueMethod · 0.45
duplicatedMethod · 0.45

Tested by

no test coverage detected