Skip to content

Commit b1047a3

Browse files
code sample for pandas-dev#38781
1 parent 2ce2e89 commit b1047a3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

bisect/38781.py

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import pandas as pd
2+
3+
print(pd.__version__)
4+
5+
result = pd.Series([0]).isin(["0"])
6+
print(result)
7+
8+
result2 = pd.Series([1]).isin(["1"])
9+
print(result2)
10+
11+
result3 = pd.Series([1.1]).isin(["1.1"])
12+
print(result3)
13+
14+
assert result.all()
15+
assert result2.all()
16+
assert result3.all()

0 commit comments

Comments
 (0)