timeseries_shaper.functions