Answered step by step
Verified Expert Solution
Question
1 Approved Answer
NumPyA 6 - FOR CREDIT Create a . ipynb file called NumPyA 6 credit.ipynb and complete the following. For this assignment load but DO NOT
NumPyA FOR CREDIT
Create a ipynb file called NumPyAcredit.ipynb and complete the following.
For this assignment load but DO NOT INSTALL NumP: run the following at the top of
your script and then complete the questions:
import numpy as np
Assume all arrays and functions are NumPy arrays, unless otherwise specified
Everything is case sensitive so BE CAREFUL
After you create the object eg Q DO NOT PRINT! Your file should something look
like this:
QHello
Q x:
Before attempting these make sure to watch CodeGrade
Walkthrough in module if you do not you will not
understand how assignments work!
For reference:
CodeGrade tips and FAQ
CodeGrade What to do if my code doesnt work?
Note: Set a random seed of for this assignment. All arrays should contain random
numbers between and zero is inclusive
Create a onedimensional array of twenty float random numbers.
Assign the sum of these values to Q
Assign the max of these values to Q
Create a four by five array of random numbers.
Take the minimum values in each array and create an array of those values.
Assign it to Q
Assign the mean of all the array values to Q
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started