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
In [58]: (-1) ** np.array([2, 3, 2.5])
/home/joris/miniconda3/envs/dev/bin/ipython:1: RuntimeWarning: invalid value encountered in power
#!/home/joris/miniconda3/envs/dev/bin/python
Out[58]: array([ 1., -1., nan])
The text was updated successfully, but these errors were encountered:
In #30097, we added special cases for 1 and -1 not propagating pd.NA:
But for -1 this should probably be pd.NA as result in the end, see https://mail.python.org/pipermail/pandas-dev/2020-January/001174.html
The text was updated successfully, but these errors were encountered: