I want to calculate the moving average for each column of a matrix in DolphinDB. But I encountered an error when using higher order function moving(avg, m, w)
, which is shown in the following figure.
However, the function mavg(m, w)
works fine with the same input. Can someone shed light on the cause of the issue? Thanks in advance!