1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ElenaW [278]
3 years ago
8

Use NumPy to recreate your answer to Question 1b. The input parameters will both be python lists, so you will need to convert th

e lists into arrays before performing your operations. The output should be a numpy array.
Computers and Technology
1 answer:
Elina [12.6K]3 years ago
7 0

Answer:

//To install the python’s numpy module on you system use following command

pip install numpy

//To use numpy module, need to import it i.e.

  • import numpy as np

/*Python’s Numpy module provides a function numpy.array() to create a Numpy Array from an another array like object in python like list or tuple etc or any nested sequence like list of list */

  • numpy.array (object, dtype =None, copy=True, order='K', subok=False, nadmin = 0 )

//To create a Numpy Array from list just pass the list object to numpy.array()

  • npArray = np.array([1,2,3,4,5,6,7,8,9])  
  • print('Contents of the ndArray : ')
  • print(npArray)
You might be interested in
What will you recommend to HP Mini 5103 Notebook?​
laiz [17]
Hey what are you guys going on with your dad today or tomorrow night
5 0
2 years ago
What do you call an optical instrument used for viewing small objects
devlian [24]
An optical instrument used for viewing small objects is a microscope
8 0
2 years ago
Which is true of case-based reasoning (CBR)?
DaniilM [7]

Answer:

The correct option is Option C: It matches a new problem with a previously solved problem and its solution.

Explanation:

Case-based reasoning (CBR) is used when someone tries to solve new problems based on old problems that were similar. The person applying case-based reasoning would look for the solutions to these similar past problems and try to apply them to the new case. For example, a doctor who tries to treat a patient based on what was successful with a prior patient with a similar problem is applying case-based reasoning. In some instances, these problems are available in a database and ideally, that is how it is conceived, but it would depend on the field and the kind of problems. There is no universal global network dedicated to CBR as a whole (other than generic searches on the internet in general). One example of a specific CBR database is the European Nuclear Preparedness system called PREPARE.

4 0
3 years ago
I really need To know how To get The special ending for final fight 2 for super nintendo it’s a video game
Bogdan [553]

Answer:

Check Yt

Explanation:

More often than not there are many video tutorials about every game imaginable.

5 0
3 years ago
According to Manny experts how often show files be backed up
timama [110]
They should be backed up every single day as loss of data could mess up certain machines
5 0
3 years ago
Other questions:
  • What are the three primary components of an Inbox?
    15·1 answer
  • Websites that are designed to adapt gracefully to any screen size use a technique called
    5·1 answer
  • Ternary operators of computer<br><br>please explain. ​
    15·1 answer
  • Optimizing a network to handle more traffic by adding new specialized software is an example of ______ scaling. Adding additiona
    9·1 answer
  • What's a sentence with the words trickle and resume in it? they can be in any tense. Thanku​
    5·1 answer
  • Identify examples of loop structures using comments in your code. Be sure your examples address each of the following: i. Item-b
    6·1 answer
  • Your friend decides to create a spreadsheet containing vocabulary terms and their definitions to help prepare for the unit test
    5·1 answer
  • NFPA 780, Standard for the Installation of Lightning Protection Systems provides information on the installation of _____ for li
    6·1 answer
  • In ____ orientation, a page is taller than it is wide.
    11·1 answer
  • Disadvantages of a grain crusher
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!