We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
xref #10746
In [1]: data = ''' ...: [{"id": 1, "timestamp": 1036713600000}, ...: {"id": 2}] ...: '''
after #10776 this is ok
In [2]: pd.read_json(StringIO(data), orient='records', dtype={'id': 'int32', 'timestamp': 'datetime64[ms]'}) Out[2]: id timestamp 0 1 1.036714e+12 1 2 NaN In [2]: pd.read_json(StringIO(data), orient='records', dtype={'id': 'int32', 'timestamp': 'datetime64[ms]'}) Out[10]: id timestamp 0 1 2002-11-08 1 2 NaT
still open
In [7]: pd.read_json(StringIO(data), orient='records', date_unit='ms') Out[7]: id timestamp 0 1 1.036714e+12 1 2 NaN
The text was updated successfully, but these errors were encountered:
closed by #10876
Sorry, something went wrong.
No branches or pull requests
xref #10746
after #10776 this is ok
still open
The text was updated successfully, but these errors were encountered: