convert time zone pandas

Solutions on MaxInterview for convert time zone pandas by the best coders in the world

showing results for - "convert time zone pandas"
Simona
10 Oct 2018
1# convert timezone from UTC to GMT+7
2df['timestamp'].map(lambda x: pd.to_datetime(x, yearfirst=True).tz_convert('Asia/Bangkok'))