times = numpy.array([datetime.timedelta(0, 1, 36000)] * 100000)
numpy_times = times.astype('timedelta64[ms]')
elegant way of convert a numpy array containing datetime.timedelta into seconds in python 2.7