I have a dataset like
acc_x 3216542
acc_y 564151
acc_z 4856454
gyr_x 515164
gyr_y 521561
gyr_z 181531
i want to get the average and standard variance of all acc_x,acc_y,acc_z and so on. i tried first to sort them and then manually select all the acc_x data to calculate the mean and SD. Is there an easier way to do this? I can use R or python or excel. Thanks in advance.