Skip to content
This repository was archived by the owner on Feb 17, 2021. It is now read-only.

Acs 2 #105

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Acs 2 #105

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion numpy-stubs/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,9 @@ def asarray(a: ndarray, dtype: Type[str]) -> ndarray[str_]: ...
def atleast_2d(ary: _Coercable) -> ndarray: ...
@overload
def atleast_2d(ar: _Coercable, *ary: _Coercable) -> List[ndarray]: ...
def bincount(
x: _ArrayLike[_DType], weights: _ArrayLike = ..., minlength: int = ...
) -> ndarray[_DType]: ...
@overload
def ceil(a: _FloatLike) -> _FloatLike: ...
@overload
Expand Down Expand Up @@ -712,7 +715,7 @@ def isin(element: Sequence[_DType], test_element: _DType) -> ndarray[_DType]: ..
@overload
def isnan(x: float64) -> bool: ...
@overload
def isnan(x: ndarray[_DType]) -> ndarray[bool_]: ...
def isnan(x: _ArrayLike[_DType]) -> ndarray[bool_]: ...
@overload
def ix_(x: ndarray[_DType]) -> ndarray[_DType]: ...
@overload
Expand Down
6 changes: 3 additions & 3 deletions numpy-stubs/random.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ def exponential(scale: _FloatLike) -> _Float: ...
@overload
def exponential(scale: _FloatLike, size: Sequence[_IntLike]) -> ndarray[float64]: ...
@overload
def exponential(scale: Sequence[_FloatLike], size: Sequence[_IntLike]) -> ndarray[float64]: ...
def geometric(p: float, size: _IntLike) -> ndarray[float64]: ...
def get_state() -> Tuple[str, ndarray[_Int], _IntLike, _IntLike, _FloatLike]: ...
def multinomial(
n: int, pvals: _ArrayLike[_Float] = ..., size: Union[int, Tuple[int, ...]] = ...
) -> ndarray[_Int]: ...
def normal(loc: float, scale: float, size: Union[int, Tuple[int, ...]]) -> ndarray[float64]: ...
@overload
def permutation(size: int) -> ndarray[int64]: ...
Expand Down