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

Method drop

pandas/core/generic.py:4561–4571  ·  view source on GitHub ↗
(
        self,
        labels: IndexLabel | ListLike = ...,
        *,
        axis: Axis = ...,
        index: IndexLabel | ListLike = ...,
        columns: IndexLabel | ListLike = ...,
        level: Level | None = ...,
        inplace: Literal[True],
        errors: IgnoreRaise = ...,
    )

Source from the content-addressed store, hash-verified

4559
4560 @overload
4561 def drop(
4562 self,
4563 labels: IndexLabel | ListLike = ...,
4564 *,
4565 axis: Axis = ...,
4566 index: IndexLabel | ListLike = ...,
4567 columns: IndexLabel | ListLike = ...,
4568 level: Level | None = ...,
4569 inplace: Literal[True],
4570 errors: IgnoreRaise = ...,
4571 ) -> None: ...
4572
4573 @overload
4574 def drop(

Callers 2

_drop_axisMethod · 0.45

Calls 5

_get_axis_nameMethod · 0.95
_update_inplaceMethod · 0.95
validate_bool_kwargFunction · 0.90
_drop_axisMethod · 0.80
itemsMethod · 0.45

Tested by

no test coverage detected