I think this is just `array(data).mean(axis=1)`