If I have a multi-column file, I might want to calculate metrics separately for the "groups" of rows in the file. Imagine I have:
Ideally, I'd like statistics for a and b rows separately. This could either be done by indicating which column holds the value, and use the remainder (prefix and suffix) of the row as the "group by" key, or by providing a list of columns to use as key, and a key for the value. I'd prefer the former as it is easier to specify, but for large files where only some of the data is relevant, the latter approach is more flexible.
If I have a multi-column file, I might want to calculate metrics separately for the "groups" of rows in the file. Imagine I have:
Ideally, I'd like statistics for
aandbrows separately. This could either be done by indicating which column holds the value, and use the remainder (prefix and suffix) of the row as the "group by" key, or by providing a list of columns to use as key, and a key for the value. I'd prefer the former as it is easier to specify, but for large files where only some of the data is relevant, the latter approach is more flexible.