Question: 1 . Generate the following Numpy arrays: a ) A 1 - D array, called zeroth, of 1 0 zeros. b ) A 2 -

1. Generate the following Numpy arrays:
a)A 1-D array, called zeroth, of 10 zeros.
b)A 2-D array of 3 rows and 4 columns, called first, with all ones and dtype as int.
c)Use a nested list to make a 2-D array of 3 rows and 3 columns, called second, that store the following values:
1,3,2
3.3,2.2,1.1
-3,-5,-4
d)A 2-D array of 12 elements, called third, using the arange() function that has a starting value =5 and shape of (3,4).

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