[Numpy-discussion] numpy datetime64 NaT string conversion bug & patch

Julian Taylor jtaylor.debian at googlemail.com
Thu Nov 28 15:48:47 EST 2013


On 27.11.2013 21:51, Charles G. Waldman wrote:
> If you convert an array of strings to datetime64s and 'NaT' (or one of
> its variants) appears in the string, all subsequent values are
> rendered as NaT:

thanks, a little embarrassing I didn't spot that when I fixed a
different bug in the function recently :/

do you want to create a pull request with the fix?
see http://docs.scipy.org/doc/numpy/dev/gitwash/development_workflow.html
add a testcase too, numpy/core/tests/test_datetime.py is probably the
right place.
Feel free to answer you don't have time for doing a PR.



More information about the NumPy-Discussion mailing list