You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Issue description
It is not able to compare a boolean Series and a scalar value.
For example, pl.Series(values=[True, False]).__eq__(True) returns a NotImplemented, whereas pl.Series(values=[True, False]).__eq__([True]) returns a boolean series.
I think we need to broadcast a scalar value to the vector.
Polars version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Issue description
It is not able to compare a boolean Series and a scalar value.
For example,
pl.Series(values=[True, False]).__eq__(True)
returns a NotImplemented, whereaspl.Series(values=[True, False]).__eq__([True])
returns a boolean series.I think we need to broadcast a scalar value to the vector.
Reproducible example
Expected behavior
Expected
Actual
Installed versions
The text was updated successfully, but these errors were encountered: