Skip to content

Commit

Permalink
add whatsnew and add comments to pandas/tests/arrays/boolean/test_red…
Browse files Browse the repository at this point in the history
…uction.py related to issue pandas-dev#33253
  • Loading branch information
linxiaow committed Apr 5, 2020
1 parent 7106f90 commit 1a08e61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/source/whatsnew/v1.1.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@ Missing
^^^^^^^

- Calling :meth:`fillna` on an empty Series now correctly returns a shallow copied object. The behaviour is now consistent with :class:`Index`, :class:`DataFrame` and a non-empty :class:`Series` (:issue:`32543`).

- Bug in :meth:`array.any` incorrectly returns ``<NA>`` for pandas.array of all ``False`` value, e.g. ``pd.array([False, False], dtype="boolean")``. Now it returns ``False`` (:issue:`33253`)
- Bug in :meth:`array.all` incorrectly returns ``<NA>`` for pandas.array of all ``True`` value, e.g. ``pd.array([True, True], dtype="boolean")``. Now it returns ``True``(:issue:`33253`)
MultiIndex
^^^^^^^^^^
Expand Down
1 change: 1 addition & 0 deletions pandas/tests/arrays/boolean/test_reduction.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def data():
)


# .any(), .all() returns <NA> for [False, False], [True, True], GH-33253.
@pytest.mark.parametrize(
"values, exp_any, exp_all, exp_any_noskip, exp_all_noskip",
[
Expand Down

0 comments on commit 1a08e61

Please sign in to comment.