How is np.mean(cric_data,axis=0) giving mean of all the three columns when we are mentioning only axis-0?
Please refer to the explanation from this thread.
As per the pictorial representation,
axis=0 means up the values in a particular direction, you can try doing
axis=1 as well.
so axis 0 is for summing up vertically and get mean of the three types, and axis=1 is for horizontally summing up?
Yes, you got it right.