嗨,
我需要重複幾百列和幾百行的過程。基本上嘗試在許多列上執行變量均值。我對此很陌生,但我正在尋找加快這一過程的方法。我現在使用的代碼如下。我感謝任何輸入!
ccolListA = dt << get column names( continuous );
For( i = 1, i <= N Items( colListA ), i++,
dt << New Column( "Part Mean", Numeric, Formula( Col Mean( :(Column( dt, colListA[i] )), :Part, :SN ) ) )
);