Skip to content

Commit 7f3d217

Browse files
committed
docs
1 parent 859cbf6 commit 7f3d217

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/source/whatsnew/v1.1.3.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Bug fixes
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:`DataFrame.stack` raising a ``ValueError`` when stacking :class:`MultiIndex` columns based on position when the levels had duplicate names (:issue:`36353`)
3333
- Bug in :meth:`isin()` when using NaN and a row length above 1,000,000 (:issue:`22205`)
34-
- Bug in :meth:`Series.isin` when using ``NaN`` and a row length above 1,000,000 (:issue:`22205`)
34+
- Bug in :meth:`Series.isin` and :meth:`DataFrame.isin` when using ``NaN`` and a row length above 1,000,000 (:issue:`22205`)
3535

3636
.. ---------------------------------------------------------------------------
3737

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)