Boolean comparison vs tuple fails in 0.17.0 · Issue #11339 · pandas-dev/pandas (original) (raw)
Just updated to 0.17.0 (python 2.7.9 on OS X Yosemite) and I found the following:
>>> import pandas as pd
>>> pd.__version__
u'0.17.0'
>>> s = pd.Series([(1,1),(1,2)])
>>> s==(1,2)
0 False
1 False
dtype: bool
Meanwhile in 0.16.2:
>>> import pandas as pd
>>> pd.__version__
'0.16.2'
>>> s = pd.Series([(1,1),(1,2)])
>>> s==(1,2)
0 False
1 True
dtype: bool