Look at the first row of my DateTime column (Below line),
Mon Nov 02 20:37:10 GMT+00:00 2015
Right now, This Datetime column is an object and I need to convert them to DateTime format so that I can able to get my date as something like this 1998-08-11 and I will create a separate column for time.
This is the code, that I'm using to convert column to date format :
for item, frame in df['DateTime'].iteritems():
But, in the end, I'm getting this kind of error:
TypeError: must be str, not Series
Anyone Please help me?
Thank you :)