Skip to content

Commit 26f8033

Browse files
code sample for pandas-dev#35565
1 parent 2e38b2b commit 26f8033

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

bisect/35565.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import pandas as pd
2+
3+
print(pd.__version__)
4+
5+
x = pd.DataFrame([["foo", "bar"], [1, None]])
6+
y = x[1].copy()
7+
8+
result = x.isin(y)
9+
print(result)
10+
11+
assert result[1].all()

0 commit comments

Comments
 (0)