Answer to Question #235917 in Python for akshita

Question #235917

Find out the mean, median and standard deviation of this numpy array -> np.array([1,5,3,100,4,48])


1
Expert's answer
2021-09-13T05:27:12-0400
import numpy as np

arr = np.array([1, 5, 3, 100, 4, 48])
print('mean:', np.round(np.mean(arr), 2))
print('median:', np.median(arr))
print('standard deviation:', np.round(np.std(arr), 2))

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS