Here\'s an array of datetime values:
array = np.array([\'2016-05-01T00:00:59.3+10:00\', \'2016-05-01T00:02:59.4+10:00\',
\'2016-05-01T00:03
DateInfer (PyDateInfer) library allows to infer dates based on the sequence of available dates:
github.com/wdm0006/dateinfer
Usage from docs:
>>> import dateinfer
>>> dateinfer.infer(['Mon Jan 13 09:52:52 MST 2014', 'Tue Jan 21 15:30:00 EST 2014'])
'%a %b %d %H:%M:%S %Z %Y'
>>>
Disclaimer: I have used and then contributed to this library