Replace timeseries with Timeseries