Suppose i have two equivalent dataframes:
df1 = pd.DataFrame({'a': [None, None, None]})
df2 = pd.DataFrame({'a': [None, None, None]})
When i use the isin method as such:
df1.isin(df2)
I get the following output:
'a' | |
---|---|
0 | False |
1 | False |
2 | False |
I would expect the results to be True for all. Why am I not getting my expected results?
Appreciate any guidance and clarifications from the community, thanks!