How can I get the chunks of a given array

or

using Statistics
zx = 1.0*reshape(series, 12, :)
 zx .-= mean(zx, dims=1)
mean(zx, dims=2)
1 Like