Question: NumPy Basics: Arrays and Vectorized Computation(use jupyter python) # Task # Create an numpy array [1 2 3 4 5 6 .... 10] and name

NumPy Basics: Arrays and Vectorized Computation(use jupyter python)

# Task # Create an numpy array [1 2 3 4 5 6 .... 10] and name it "array_1d" # Hint: use the functions of numpy

# (1) Output the sum of the array # (2) Output the min value in the array # (3) Output the array with all the values squared by itself # (4) Output the array with all the values added a constant 10 # (5) Output the mean of the array # (6) Output the cummulative sum of the array # (7) Output the array with only the values greater than 5 # (8) Output the sum of the array with only the values greater than 6

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!