I am reading data from a Java source. I end up with the following dataframe:
df.head()
open timestamp
0 1.13550 2019-02-24T17:00-06:00[US/Central]
1 1.13570 2019-02-24T17:05-06:00[US/Central]
2 1.13560 2019-02-24T17:10-06:00[US/Central]
3 1.13565 2019-02-24T17:15-06:00[US/Central]
4 1.13570 2019-02-24T17:20-06:00[US/Central]
df.dtypes
open float64
timestamp object
dtype: object
How can I convert column timestamp to Datetime with timezone in Pandas? Is there such thing in Pandas?
I found this post but it does not seem to parse timezone, just add a timezone later. How to read datetime with timezone in pandas
Any help/hint is welcomed