python - Does anyone understand this error? -


valueerror: error parsing datetime string "2015-01-31:00:00" @ position 10

i trying call np.datetime64('2015-01-31:00:00').

a date in ms gives idea of string format accepts

in [74]: np.datetime64('2015-01-31','ms') out[74]: numpy.datetime64('2015-01-31t00:00:00.000') 

see examples on numpy doc page

http://docs.scipy.org/doc/numpy/reference/arrays.datetime.html

space works

in [79]: np.datetime64('2015-01-31 00:00:00','ms') out[79]: numpy.datetime64('2015-01-31t00:00:00.000') 

Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -