Answered step by step
Verified Expert Solution
Link Copied!

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

NumPyA6- FOR CREDIT
Create a .ipynb file called NumPyA6credit.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 (e.g., Q1), DO NOT PRINT! Your file should something look
like this:
Q1=[Hello]
Q2= x[3:]
Before attempting these make sure to watch CodeGrade
Walkthrough in module 1- 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 100 for this assignment. All arrays should contain random
numbers between 0 and 1(zero is inclusive).
Create a one-dimensional array of twenty float random numbers.
Assign the sum of these values to Q1.
Assign the max of these values to Q2.
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 Q3.
Assign the mean of all the array values to Q4.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 15th International Conference Dexa 2004 Zaragoza Spain August 30 September 3 2004 Proceedings Lncs 3180

Authors: Fernando Galindo ,Makoto Takizawa ,Roland Traunmuller

2004th Edition

3540229361, 978-3540229360

More Books

Students also viewed these Databases questions