Skip to content

Commit

Permalink
code sample for pandas-dev#35565
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjayhawkins committed Dec 20, 2020
1 parent 2e38b2b commit 26f8033
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bisect/35565.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import pandas as pd

print(pd.__version__)

x = pd.DataFrame([["foo", "bar"], [1, None]])
y = x[1].copy()

result = x.isin(y)
print(result)

assert result[1].all()

0 comments on commit 26f8033

Please sign in to comment.