Skip to content

Commit e81bfe9

Browse files
author
MomIsBestFriend
committed
Added GH ref
1 parent 82aafd4 commit e81bfe9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pandas/core/nanops.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def nanany(values, axis=None, skipna: bool = True, mask=None):
426426
# GH #12863
427427
# Checking if the `axis` is None because numpy
428428
# doesn't handle ``any`` and ``all`` on
429-
# object arrays correclty. see
429+
# object arrays correctly. see
430430
# https://github.com/numpy/numpy/issues/4352
431431

432432
# TODO: Find a less code-smelly way of doing this
@@ -494,7 +494,7 @@ def nanall(values, axis=None, skipna: bool = True, mask=None):
494494
# GH #12863
495495
# Checking if the `axis` is None because numpy
496496
# doesn't handle ``any`` and ``all`` on
497-
# object arrays correclty. see
497+
# object arrays correctly. see
498498
# https://github.com/numpy/numpy/issues/4352
499499

500500
# TODO: Find a less code-smelly way of doing this
@@ -528,6 +528,7 @@ def is_all(values: np.ndarray) -> bool:
528528

529529
return is_all(values)
530530

531+
531532
@disallow("M8")
532533
def nansum(values, axis=None, skipna=True, min_count=0, mask=None):
533534
"""

pandas/tests/reductions/test_reductions.py

+1
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,7 @@ def test_all_any_params(self):
826826
s1 = Series([np.nan, True])
827827
s2 = Series([np.nan, False])
828828

829+
# GH #12863
829830
assert s1.all(skipna=True)
830831
assert s1.any(skipna=True)
831832

0 commit comments

Comments
 (0)