Question: Using Python Jupyter notebook, do the following programs: 1) Create a Numpy array with (3,6) and do the following: a) List all values in the

Using Python Jupyter notebook, do the following programs:

1) Create a Numpy array with (3,6) and do the following:

a) List all values in the array that is less than 7.

b) Use indexing with masking to extract the second, fourth and the six column of the array?

c) Sort each column of the array? d) Sort each row of the array?

2) Create a one dimensional Numpy array with size 10 and apply the following:

a) Replace all odd numbers with 99?

b) Extract all the values from 4 to 8 from the array.

c) Convert the 1 Dimensional array into 2 Dimensional array.

3) Create two arrays with one dimensional with size 5 and apply the following:

a) Link the wo arrays using a key word in python.

b) Split the array in (a) into 3 arrays.

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