Data loaded with column as pandas date time:
df = pd.read_csv('test.csv', parse_dates=['timestamp'])
df
user timestamp speed
0 2 2016-04-01 01:06:26+01:00 9.76
1 2 2016-04-01 01:06:26+01:00 5.27
2 2 2016-04-01 01:06:26+01:00 8.12
3 2 2016-04-01 01:07:53+01:00 8.81
I want to remove time zone information from timestamp
column:
df['timestamp'].tz_convert(None)
TypeError: index is not a valid DatetimeIndex or PeriodIndex