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

Commit 31dd595

Browse files
olliethomastmke8
authored andcommitted
black
1 parent 1e57d4d commit 31dd595

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

numpy-stubs/__init__.pyi

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,13 @@ def mean(a: ndarray[_Float], axis: _AxesType, keepdims: bool = ...) -> ndarray[_
641641
def mean(
642642
a: Union[ndarray[_Int], ndarray[bool_]], axis: _AxesType, keepdims: bool = ...
643643
) -> ndarray[float64]: ...
644-
def median(a: ndarray, axis: _IntObj = ..., out: ndarray = ..., overwrite_input: bool = ..., keepdims: bool = ...) -> ndarray[float64]: ...
644+
def median(
645+
a: ndarray,
646+
axis: _IntObj = ...,
647+
out: ndarray = ...,
648+
overwrite_input: bool = ...,
649+
keepdims: bool = ...,
650+
) -> ndarray[float64]: ...
645651
@overload
646652
def min(a: ndarray[_DType], axis: None = ...) -> _DType: ...
647653
@overload
@@ -706,7 +712,7 @@ def tile(a: ndarray[_DType], reps: Union[_NestedList[int], ndarray[_Int]]) -> nd
706712
def trace(a: ndarray[_DType]) -> _DType: ...
707713
def transpose(a: ndarray[_DType]) -> ndarray[_DType]: ...
708714
def tril(m: ndarray[_DType], k: Optional[int] = ...) -> ndarray[_DType]: ...
709-
def tril_indices(n: _IntObj, k: _IntObj =..., m: _IntObj = ...) -> Tuple[ndarray, ndarray]: ...
715+
def tril_indices(n: _IntObj, k: _IntObj = ..., m: _IntObj = ...) -> Tuple[ndarray, ndarray]: ...
710716
def triu(m: ndarray[_DType], k: Optional[int] = ...) -> ndarray[_DType]: ...
711717
@overload
712718
def unique(a: ndarray[_DType], axis: Optional[int] = ...) -> ndarray[_DType]: ...

pandas-stubs/testing.pyi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ from .core.series import Series
55
from .core.indexes import Index
66

77
def assert_frame_equal(
8-
left: DataFrame, right: DataFrame, check_like: Optional[bool] = ..., check_exact: Optional[bool] = ...
8+
left: DataFrame,
9+
right: DataFrame,
10+
check_like: Optional[bool] = ...,
11+
check_exact: Optional[bool] = ...,
912
) -> None: ...
1013
def assert_index_equal(left: Index, right: Index) -> None: ...
1114
def assert_series_equal(left: Series, right: Series) -> None: ...

0 commit comments

Comments
 (0)