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

Function take_nd

pandas/core/array_algos/take.py:38–44  ·  view source on GitHub ↗
(
    arr: np.ndarray,
    indexer,
    axis: AxisInt = ...,
    fill_value=...,
    allow_fill: bool = ...,
)

Source from the content-addressed store, hash-verified

36
37@overload
38def take_nd(
39 arr: np.ndarray,
40 indexer,
41 axis: AxisInt = ...,
42 fill_value=...,
43 allow_fill: bool = ...,
44) -> np.ndarray: ...
45
46
47@overload

Callers 10

takeFunction · 0.90
safe_sortFunction · 0.90
map_arrayFunction · 0.90
parallel_take1dMethod · 0.85
astypeMethod · 0.85
__array__Method · 0.85
_str_mapMethod · 0.85
recode_for_categoriesFunction · 0.85
union_categoricalsFunction · 0.85

Calls 6

na_value_for_dtypeFunction · 0.90
maybe_promoteFunction · 0.90
is_1d_only_ea_dtypeFunction · 0.90
_take_nd_ndarrayFunction · 0.85
astypeMethod · 0.45
takeMethod · 0.45

Tested by

no test coverage detected