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

1 Answer

0 votes
by

Below are the steps to find out median and standard deviation of this numpy array -> np.array([1,5,3,100,4,48])

  1. import numpy as np
  2. n1=np.array([10,20,30,40,50,60])
  3. print(np.mean(n1))
  4. print(np.median(n1))
  5. print(np.std(n1))

Related questions

0 votes
asked Feb 10, 2021 in Python by SakshiSharma
0 votes
asked May 17, 2019 in Python by Derya
+1 vote
asked Oct 22, 2021 in Artificial Intelligence by DavidAnderson
0 votes
asked Jan 23, 2020 in Data Science by AdilsonLima
...