-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path__init__.pyi
More file actions
36 lines (29 loc) · 1.36 KB
/
__init__.pyi
File metadata and controls
36 lines (29 loc) · 1.36 KB
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
import typing as tp
import numpy as np # type: ignore
_T = tp.TypeVar('_T')
__version__: str
class ArrayGO:
values: np.array
def __init__(
self, iterable: tp.Iterable[object], *, own_iterable: bool = ...
) -> None: ...
def __iter__(self) -> tp.Iterator[tp.Any]: ...
def __getitem__(self, __key: object) -> tp.Any: ...
def __len__(self) -> int: ...
def __getnewargs__(self) -> tp.Tuple[np.ndarray]: ...
def append(self, __value: object) -> None: ...
def copy(self: _T) -> _T: ...
def extend(self, __values: tp.Iterable[object]) -> None: ...
def immutable_filter(__array: np.array) -> np.array: ...
def mloc(__array: np.array) -> int: ...
def name_filter(__name: tp.Hashable) -> tp.Hashable: ...
def shape_filter(__array: np.array) -> np.ndarray: ...
def column_2d_filter(__array: np.array) -> np.ndarray: ...
def column_1d_filter(__array: np.array) -> np.ndarray: ...
def row_1d_filter(__array: np.array) -> np.ndarray: ...
def array_deepcopy(__array: np.array, memo: tp.Dict[int, tp.Any]) -> np.ndarray: ...
def resolve_dtype(__d1: np.dtype, __d2: np.dtype) -> np.dtype: ...
def resolve_dtype_iter(__dtypes: tp.Iterable[np.dtype]) -> np.dtype: ...
def isna_element(__value: tp.Any) -> bool: ...
def dtype_from_element(__value: tp.Optional[tp.Hashable]) -> np.dtype: ...
def roll_1d(__array: np.ndarray, __shift: int) -> np.ndarray: ...