Jan-19-2019, 09:32 PM
Hi Guys,
This is the code so far. My understanding is that df2 which is referencing the "date" column should be converted to datetime type.
This is the code so far. My understanding is that df2 which is referencing the "date" column should be converted to datetime type.
import pandas import datetime df1=pandas.read_excel("FB.xlsx",sheet_name=0) df2 = df1.set_index("Date") df3 = pandas.to_datetime((df2, format="%d / %m / %Y"))Can someone please point out where I am going wrong