A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/11339 below:

Boolean comparison vs tuple fails in 0.17.0 · Issue #11339 · pandas-dev/pandas · GitHub

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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4