File size: 753 Bytes
3e62986 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
from collections.abc import Sequence
from typing import Any, overload
import numpy as np
def format_float_array(
values: Sequence[float], num_decimal_places: int
) -> list[str]: ...
def isin(
array: np.ndarray[object],
test_elements: set[str | bytes],
*,
invert: bool = ...,
) -> np.ndarray[bool]: ...
@overload
def remap(
array: np.ndarray[object],
mapping: dict[str, str],
default_value: str,
inplace: bool = ...,
) -> np.ndarray[object]: ...
@overload
def remap(
array: np.ndarray[object],
mapping: dict[str, str],
inplace: bool = ...,
) -> np.ndarray[object]: ...
def remap_multiple(
arrays: Sequence[np.ndarray[object]],
mapping: dict[tuple[Any], int],
) -> np.ndarray[int]: ...
|