Q3.1: Create a NumPy array called some_array with the following elements: sone_array([3.1, 3.3, 0.5, 7.0, 14.0, 5.1),[6.

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Q3.1: Create a NumPy array called some_array with the following elements: sone_array([3.1, 3.3, 0.5, 7.0, 14.0, 5.1),[6.

Post by answerhappygod »

Q3 1 Create A Numpy Array Called Some Array With The Following Elements Sone Array 3 1 3 3 0 5 7 0 14 0 5 1 6 1
Q3 1 Create A Numpy Array Called Some Array With The Following Elements Sone Array 3 1 3 3 0 5 7 0 14 0 5 1 6 1 (23.24 KiB) Viewed 42 times
Q3 1 Create A Numpy Array Called Some Array With The Following Elements Sone Array 3 1 3 3 0 5 7 0 14 0 5 1 6 2
Q3 1 Create A Numpy Array Called Some Array With The Following Elements Sone Array 3 1 3 3 0 5 7 0 14 0 5 1 6 2 (25.62 KiB) Viewed 42 times
Q3 1 Create A Numpy Array Called Some Array With The Following Elements Sone Array 3 1 3 3 0 5 7 0 14 0 5 1 6 3
Q3 1 Create A Numpy Array Called Some Array With The Following Elements Sone Array 3 1 3 3 0 5 7 0 14 0 5 1 6 3 (17.03 KiB) Viewed 42 times
Q3.1: Create a NumPy array called some_array with the following elements: sone_array([3.1, 3.3, 0.5, 7.0, 14.0, 5.1),[6.2, 4.4, 6.8, 8.6, 6.3, 9.0],[5.7, 8.6, 10.0, 0.11, 1.2, 9.31 In some_array - ??? Q3 2 Using the array sone_array perform the following: 3.2.1. Create a new array called flattened_array and store in this array a flattened version of some_array 322. Create a new array called reshaped_array, and store in this array a reshaped version of flattened array to the shape (0, 2) 3.2.3. Create a new array called reversed array and store in this array a reversed version of reshaped_array 3:24. Create a new array called stacked_array and store in this array reshaped_array and reversed_arraystacked in sequence vertically 3.2.5. Create a new way called stacked array and store in this way reshaped_array and reversed array stacked in sequence horizontally in 1.2.1 Flattened array-
00 En View Insert Coll Kornel Widgets Halo Not Trusted Python 3 pyernel) c Code 3 IDLE + Run 71 # 3.2 flattened array - ??? In [ ]:MW 3.2.2. reshaped_array = ??? In ): # 3.20 reversed_array = ??? In [ ]: N 3.2.4. r_stacked array = ??? In 1: 3.2.5. stacked_array??? Question 4: Practical Numpy Operations 04.1: Create a 1000 x 1000 NumPy array called bigarray with random integers from 0 to 10000. Low (inclusive and high (exclusive) ) In : Mbic_array - ??? Q4.2 Using the array big_array, perform the following 4.2.1. Find and print the indicios of elements that are greater than 500 and smaller than 9998
4.2.1. Find and print the indicies of elements that are greater than 500 and smaller than 9998 42.2. Print the the bic_array sorted in ascending order 4.2.3. Print the indiciet of the sorted bigarray 42.4. Find and print the indices of bigarray elements that are non-zero In (): + 4.2.1 >> In ): # 4.2.2. ??? In [ ]: N 4.2.). >>> In 1] 4.2.4
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply