Skip to content

Commit 49aeb2d

Browse files
committed
docs
1 parent b31f4e2 commit 49aeb2d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: doc/source/whatsnew/v1.1.3.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Bug fixes
3030
- Bug in :meth:`Series.str.startswith` and :meth:`Series.str.endswith` with ``category`` dtype not propagating ``na`` parameter (:issue:`36241`)
3131
- Bug in :class:`Series` constructor where integer overflow would occur for sufficiently large scalar inputs when an index was provided (:issue:`36291`)
3232
- Bug in :meth:`isin()` when using NaN and a row length above 1,000,000 (:issue:`22205`)
33-
- Bug in :meth:`Series.isin` when using ``NaN`` and a row length above 1,000,000 (:issue:`22205`)
33+
- Bug in :meth:`Series.isin` and :meth:`DataFrame.isin` when using ``NaN`` and a row length above 1,000,000 (:issue:`22205`)
3434

3535
.. ---------------------------------------------------------------------------
3636

Diff for: pandas/tests/test_algos.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -840,16 +840,16 @@ def test_same_nan_is_in(self):
840840
result = algos.isin(comps, values)
841841
tm.assert_numpy_array_equal(expected, result)
842842

843-
# issue:`22205`
844843
def test_same_nan_is_in_large(self):
844+
# issue:`22205`
845845
s = np.tile(1.0, 1_000_001)
846846
s[0] = np.nan
847847
result = algos.isin(s, [np.nan, 1])
848848
expected = np.ones(len(s), dtype=bool)
849849
tm.assert_numpy_array_equal(result, expected)
850850

851-
# issue:`#25395`
852851
def test_same_nan_is_in_large_series(self):
852+
# issue:`#25395`
853853
s = np.tile(1.0, 1_000_001)
854854
series = pd.Series(s)
855855
s[0] = np.nan

0 commit comments

Comments
 (0)