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
Using Pandas 0.10.1, python 2.7, and Numpy 1.6.2:
>>> npa = numpy.ndarray(1, dtype=numpy.int64) >>> npa[0] = -9223372036854775808 >>> type(pandas.Series(npa, dtype='M8[ns]')[0]) <class 'pandas.tslib.NaTType'> >>> type(pandas.Series(npa, dtype='M8[us]')[0]) <class 'pandas.tslib.Timestamp'>
The latter should also have class 'pandas.tslib.NaTType', right?
The text was updated successfully, but these errors were encountered:
Units other than nanoseconds are not supported right now in indexing etc. This should be strictly enforced
Sorry, something went wrong.
Agreed. An exception or an automatic up-conversion to nanoseconds seems reasonable.
this was closed by #3516 in 0.12
In [6]: pandas.Series(npa, dtype='M8[us]') TypeError: cannot convert datetimelike to dtype [datetime64[us]]
jreback
No branches or pull requests
Using Pandas 0.10.1, python 2.7, and Numpy 1.6.2:
The latter should also have class 'pandas.tslib.NaTType', right?
The text was updated successfully, but these errors were encountered: