Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ValueError: Tz-aware datetime.datetime cannot be converted to datetime64 unless utc=True site:stackoverflow.com

df['DateTime'] = pd.to_datetime(df['DateTime'], utc=True)
 
PREVIOUS NEXT
Tagged: #converted
ADD COMMENT
Topic
Name
4+8 =