Search This Blog

999_Errors

Errors

AttributeError: Can only use .dt accessor with datetimelike values
dd['datetime'] = pd.to_datetime(dd.datetime, format='%Y-%m-%d %H:%M:%S') 

add above line to the code, to change the date format

No comments:

Post a Comment