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
import numpy as np
import pandas
x = pandas.TimeSeries(data = np.array([-0.54548407, 2.81105692, np.nan, -1.61954275, 1.3670269, -0.73211055, -0.22832786, 0.06384124, -1.7113508, -2.42429978]), index = np.arange(0,10))
print np.fix(x)
crashes with:
File "C:\Python27\lib\site-packages\numpy\lib\ufunclike.py", line 48, in fix
y[...] = nx.where(x >= 0, y1, y2)
File "C:\Python27\lib\site-packages\pandas\core\series.py", line 540, in __setitem__
raise KeyError('%s not in this series!' % str(key))
KeyError: 'Ellipsis not in this series!'
I assume this should work?
Thomas
The text was updated successfully, but these errors were encountered:
print np.fix(x)
crashes with:
I assume this should work?
Thomas
The text was updated successfully, but these errors were encountered: