pandas datetime remove timezone code example Example: pandas remove timezone info testdata['time'].dt.tz_localize(None)