NUMPY PRACTISE QUESTIONS
Write a NumPy program to create a 3x3 matrix with values ranging from
2 to 10
Write a NumPy program to get the unique elements of an array
Write a NumPy program to find the union of two arrays. Union will
return the unique, sorted array of values that are in either of the two
input arrays.
Write a NumPy program to create a 2-dimensional array of size 2 x 3
(composed of 4-byte integer elements), also print the shape, type and
data type of the array.
Write a NumPy program to create a 2D array whose diagonal equals [4,
5, 6,8] and 0's elsewhere.
Write a NumPy program to create a null vector of size 6 (1D) and update
sixth value to 9
Write a NumPy program to create a array with values ranging from 12 to
39
Write a NumPy program to reverse a 1D array (first element becomes
last).