Datamash across many columns

Hi!

I’m trying to group by a column and compute the median and mean per group across many columns of a CSV file.

Datamash seems like the tool for this task, but it looks like I can only select a single column to perform the operation on. My CSV file has many columns (up to a hundred). Is there a way to apply the same operation to all of them at once

I don’t think Datamash can do this, but take a look at Table Compute, it’s a complicated, but very flexible tool.