Skip to content

BUG: unwanted casting in .isin #21804

@jreback

Description

@jreback

xref #19508 for a partial PR

In [3]: values = [1, 0.5] ...: pd.Series([1, 0]).isin(values) ...: Out[3]: 0 True 1 True dtype: bool 

should be [True, False]

Metadata

Metadata

Labels

BugDtype ConversionsUnexpected or buggy dtype conversionsisinisin method

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions