import numpy as np A = np.array([1,5,3,100,4,48]) Mean = np.mean(A) Median = np.median(A) SD = np.std(A) print("Input Array: ",A) print("Mean = %.3f"%Mean) print("Median = %.3f"%Median) print("Std. Dev. = %.3f"%SD)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment