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

Method sort_values

pandas/core/frame.py:8103–8114  ·  view source on GitHub ↗
(
        self,
        by: IndexLabel,
        *,
        axis: Axis = ...,
        ascending=...,
        inplace: Literal[False] = ...,
        kind: SortKind = ...,
        na_position: NaPosition = ...,
        ignore_index: bool = ...,
        key: ValueKeyFunc = ...,
    )

Source from the content-addressed store, hash-verified

8101 # error: Signature of "sort_values" incompatible with supertype "NDFrame"
8102 @overload # type: ignore[override]
8103 def sort_values(
8104 self,
8105 by: IndexLabel,
8106 *,
8107 axis: Axis = ...,
8108 ascending=...,
8109 inplace: Literal[False] = ...,
8110 kind: SortKind = ...,
8111 na_position: NaPosition = ...,
8112 ignore_index: bool = ...,
8113 key: ValueKeyFunc = ...,
8114 ) -> DataFrame: ...
8115
8116 @overload
8117 def sort_values(

Callers 15

setupMethod · 0.95
setupMethod · 0.95
test_numeric_like_opsMethod · 0.95
test_on_floatMethod · 0.95
test_on_float_by_intMethod · 0.95
test_merge_emptyMethod · 0.95
test_merge_combinationsFunction · 0.95

Calls 15

_constructor_from_mgrMethod · 0.95
validate_bool_kwargFunction · 0.90
validate_ascendingFunction · 0.90
SeriesClass · 0.90
lexsort_indexerFunction · 0.90
nargsortFunction · 0.90
default_indexFunction · 0.90
is_sequenceFunction · 0.85
_get_axis_numberMethod · 0.80
_update_inplaceMethod · 0.80