One of my pandas df has date time string column. The format is given below:
TimeStamp value
11/12/2015 10:07:34 AM 24.5
11/12/2015 10:07:35 AM 55.1
so on
I tried to convert the values of the column TimeStamp
to epoch using:
dataframe['TimeStamp'] = pd.to_datetime(dataframe['TimeStamp']).values.astype(np.int64) // 10 ** 6
I am getting error while converting date time string to unix timestamp. Help would be much appriciated. Thanks.