Description
Currently, exponentiation between ExtentionDtypes and bools is not consistent with pandas' behavior.
>>> pser = pd.Series([1, 2, np.nan], dtype=float)
>>> psser = ps.from_pandas(pser)
>>> pser ** False
0 1.0
1 1.0
2 1.0
dtype: float64
>>> psser ** False
0 1.0
1 1.0
2 NaN
dtype: float64
We ought to adjust that.
Attachments
Issue Links
- links to