Question: 3 q3: Create a four by five array of random numbers. Assign it to q3. 43 = np . random . rand (4, 5) 93

3

q3: Create a four by five array of random numbers. Assign it to q3. 43 = np . random . rand (4, 5) 93 array([ [0. 32723255, @.18828663, 0.33703034, 0.2217383 , 0.9108097 ], [0. 52748292, @.21018919, 0. 12839364, @. 16600174, 0.6856343 1, [@. 59333123, 0.97529101, 0. 46439419, @.4701963 , 0.18697762], [@.52126361, @.17662896, 0. 87486076, 0. 09250282, 0.87709629]]) Q3: Take the minimum values (numpy function) in each array of q3 and create an array of those values. Assign it to Q3. ### ENTER CODE HERE ### Q4: Assign the mean (numpy function) of all the q3 array values to Q4. ### ENTER CODE HERE ### Q5: Create an array with the following values: 2, 3, np. nan (this should represent a missing value), and 5 . Use a numpy function to find the sum of the values in this array. Assign the sum to Q5 (you should expect a numerical value here). ### ENTER CODE HERE ###

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 Mathematics Questions!