in reply to Re: Calculating Column Averages From A CSV File
in thread Calculating Column Averages From A CSV File


toolic,


Thanks for your help. Is there also a way of
calculating the row averages, excluding the first
column?

  • Comment on Re^2: Calculating Column Averages From A CSV File

Replies are listed 'Best First'.
Re^3: Calculating Column Averages From A CSV File
by toolic (Bishop) on Aug 13, 2007 at 17:33 UTC
    I believe there should be a way to calculate row averages. My poorly-named @f array contains all the values for a given row, except for the 1st column. So, its probably a matter of creating a "row_tot" variable and using the existing @col_num array. Try it out.