cumwavg# swordfish.function.cumwavg()# Calculate the cumulative weighted average of X with Y as the weights. 参数: X (Constant) -- A scalar/vector/matrix/table/tuple (with scalars or equal-length vectors)/dictionary. Y (Constant) -- A scalar/vector/matrix/table/tuple (with scalars or equal-length vectors)/dictionary. 返回: A vector of the same length as X. Null values are ignored in the calculation. 返回类型: Constant