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