-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ValueError: Data type datetime64[ns] not currently understood. Please report an error to the developers. #12259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
pls IIRC this is simply not supported cc @kshedden this should be |
I ll try to get a working example. thanks! |
Try converting the datetime64 to an array of datetimes, some examples here: http://stackoverflow.com/questions/13703720/converting-between-datetime-timestamp-and-datetime64 |
This error is happening because the call Will try a PR that will default to |
Automatically select type %tc for datetime[ns] columns Change ValueErrors to NotImplementedError for unsupported types Add tests for select exceptions Improve to_stata and StataWriter docstrings closes pandas-dev#12259
I do what I am told to do ;-)
I have a big dataframe with the following columns
and I try to save it using pd.to_stata
daily_news.to_stata( "mypath/data.dta",convert_dates= {'obs_day' : 'td'})
and I get
The text was updated successfully, but these errors were encountered: