0

I have a pandas data frame (df) with a column (df.time) with string values like:

 '2022-11-11T13:00:00Z'

how can i convert it in moscow time with datetime64[ns] format like this: 2022-11-11 16:00

i`ve tried to convert it with:

pd.to_datetime(df.time, utc='True')

now it is

datetime64[ns, UTC]

but the time has not passed to Moscow, still

 '2022-11-11 13:00:00+00:00'
Timur
  • 1

0 Answers0