Source: https://www.w3resource.com/python-exercises/numpy/numpy_100_exercises_with_solutions.php

Exercise 1:

Create a 1D array with values ranging from 0 to 9.

Exercise 2:

Convert a 1D array to a 2D array with 2 rows.

Exercise 3:

Multiply a 5x3 matrix by a 3x2 matrix.

Exercise 4:

Extract all odd numbers from an array of 1-10.

Exercise 5:

Replace all odd numbers in an array of 1-10 with -1.

Read more >