saving . . . saved Different outputs are generating even though the same outputs are expected has been deleted. Different outputs are generating even though the same outputs are expected has been hidden .
Different outputs are generating even though the same outputs are expected
Title
Question
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[0]) and np.mean(L[1]) 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 21-04-20, 9:37 p.m. madhavan.11601828@lpu.in

Answers:

np.mean(L, 0) will not give you the same result as np.mean(L[0]) and np.mean(L[1]) because L[0] and L[1] give you the 0th and 1st indexed rows of the 2D array L
21-04-20, 10:33 p.m. ankitrj.iitb


Log-in to answer to this question.