[PLAT-6604] Added toDerivative with time series