Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Answers have been highlighted. Please explain how to get to the answers. Q.7)Suppose we have an array:- an array = np.array([[11,12,13,14], [21,22,23,24], [31,32,33,34]]) and we

Answers have been highlighted. Please explain how to get to the answers.

image text in transcribedimage text in transcribed

Q.7)Suppose we have an array:- an array = np.array([[11,12,13,14], [21,22,23,24], [31,32,33,34]]) and we did the operation :- an array[:2, 1:2). The result will be ?? a) [[12][22]] b)[[13][14]] c) _[[32][33]] d)[[22][23]] Answer a Q.8)Suppose we have an array:- an array = np.array([[11,12,13,14], [21,22,23,24], [31,32,33,34]]) and we did the operation :- an array[:1, 1:2]. The result will be ?? a) [[12]] b)[[13]] c) _[[12][22]] d)[[22][23]] Answer a Q.9:- an array = np.array([[11,12,13,14], [21,22,23,24], [31,32,33,34]]) and we did the operation :- slice = an array[:2, 1:2] slice[0,0] = 10 The value of an array, will be?? a) ([[10,12,13,14), [21,22,23,24], [31,32,33,34]]) b) ([[11,10,13,14], [21,22,23,24], [31,32,33,34]]) c) ([[11,12,13,14], [21,10,23,24], [31,32,33,34]]) d) ([[11,10,13,14], [21,22,23,24], [10,32,33,3411) Answer b

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

Beginning ASP.NET 2.0 And Databases

Authors: John Kauffman, Bradley Millington

1st Edition

0471781347, 978-0471781349

More Books

Students also viewed these Databases questions

Question

Prepare a short profile of Henry words worth Longfellow?

Answered: 1 week ago

Question

What is RAM as far as telecommunication is concerned?

Answered: 1 week ago

Question

Question 1: What is reproductive system? Question 2: What is Semen?

Answered: 1 week ago

Question

Describe the sources of long term financing.

Answered: 1 week ago