Skip to content

Boolean comparison vs tuple fails in 0.17.0 #11339

Closed
@svidela

Description

@svidela

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions