nsrdb.utilities.interpolation.remove_tz

remove_tz(ti)[source]

Remove the timezone awareness of a DatetimeIndex if the tz is “UTC”

Parameters:

ti (pd.DatetimeIndex) – Pandas DatetimeIndex object

Returns:

ti (pd.DatetimeIndex) – Time index with tz removed if utc was input