pd.DataFrame.from_dict fails when index is numpy.datetime #10160
Labels
Bug
Dtype Conversions
Unexpected or buggy dtype conversions
Reshaping
Concat, Merge/Join, Stack/Unstack, Explode
Milestone
Suppose that we want to create a dataframe from a dictionary.
This returns a dataframe of positive values, with NaN in place of the negative values. Now, it appears the exact same operation fails if we use "df.index.values" instead of "df.index".
Now the outcome is a dataframe with all None. I think the problem is some inconsistency between pandas' datetime and numpy's datetime formats.
Pandas version 0.16.1, Numpy version 1.9.2. Thanks.
The text was updated successfully, but these errors were encountered: