Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
datetime64 bug arising in Series.set_value #1561
from the mailing list
When I try this, I get no error and this as output:
In : from pandas import Series In : from datetime import datetime In : s = Series().set_value(datetime(2001,1,1),1.).set_value(datetime(2001,1,2),float('nan')) In : s Out: 978307200000000000 1 2001-01-02 00:00:00 NaN
I'm using the latest pandas and numpy. Looks like something is up with setting the first label in an index.