Question: In Python 3+, randomly generate a numpy array with 1000 numbers in the shape of (100, 10). The numbers should lie in the range of

In Python 3+, randomly generate a numpy array with 1000 numbers in the shape of (100, 10). The numbers should lie in the range of 1 and 50 inclusive. Please include screenshots. Then,

  1. calculate the mean, median, max, and standard deviation of all the numbers.
  2. calculate the mean, median, max, and standard deviation values of each row.
  3. calculate the mean, median, max, and standard deviation values of each column.
  4. compare the mean values you got in (1)-(3) with 25. What do you find? Can you explain it?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!