Skip to content

Commit f774031

Browse files
author
MomIsBestFriend
committed
Added GH ref
1 parent 14fcbc9 commit f774031

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pandas/core/nanops.py

+2-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

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)