I’m basically trying to achieve what’s explained in this answer:
with the only difference that I would like to rescale a collection of series labelled by tags, not just one single series. I tried throwing a
group() in the pipeline but obviously it’s not that easy.
I also wonder if there’s a simple trick to rescale, maybe a multiplicative version of:
data |> difference() |> cumulativeSum() used to shift the whole series by its first value. This would be something like:
data |> 'ratio()' |> 'cumulativeProd()'.