Different outputs are generating even though the same outputs are expected
np.mean(L,0) it will calculate the mean along the columns.
Instead of doing that, i was executed in two different lines by taking np.mean(L) and np.mean(L) then the expected output is as similar as the former one. but i am getting different results in both the scenarios. it was the same scenario for standard deviation also. What are the possible reasons for it??
Python-3.4.3 Statistics 11-12 min 40-50 sec
np.mean(L, 0) will not give you the same result as np.mean(L) and np.mean(L) because L and L give you the 0th and 1st indexed rows of the 2D array L