Closed
Description
xref #12841
this is a test in test_coercion.py, L361
In [3]: import pandas as pd
In [4]: s = pd.Series([True, False, True, False])
In [5]: s.where(s,1)
Out[5]:
0 1
1 1
2 1
3 1
dtype: int32
on windows the scalar is not coerced to int64 (as it is on other platforms). IIRC .where
already has quite complicated logic to do this. How simple is this to fix?
cc @sinhrks