Hello,

I have a 50k rows array of 3 columns. The 2 first columns are categorical while the third one is numeric

I want to build a cross tabulation where each cell represents the average of the corresponding two categories

I'm doing so by looping over the 1st column then over the 2nd one to create a temp array from which I extract the average

I wonder if it is the most effective way to do it?

Thanks