I'm trying to load time series data from some files. The data has this format
04/02/2015 19:07:53.951,3195,1751,-44,-25
I'm using this code to load the whole file as a numpy object.
content = np.loadtxt(filename, dtype={'names': ('timestamp', 'tick', 'ch', 'NodeI', 'Base'),
'formats': ('datetime64[us]', 'i4', 'i4', 'i4', 'i4')}, delimiter=',', skiprows=27)
but i got an error with the datetime format
ValueError: Error parsing datetime string "04/02/2015 19:07:53.951" at position 2
there is an easy way to define the datetime format I'm reading? There files with a lot of data so I'm trying not to walk the file more than once.