MINOR: stats: don't hard-code the CSV fields list anymore

Now the list of CSV fields is directly taken from the table.
1 file changed