Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is the command to create a 1D array containing elements 5, 6, 7?
Look for how we created arrays earlier.
How would you define an array?
Think about what NumPy arrays represent.
What function is used to create a NumPy array?
Remember the prefix used with NumPy functions.
True or False: A 2D NumPy array can represent a matrix.
Consider the arrangement of numbers.
You have two arrays, a = np.array([2, 4, 6]) and b = np.array([1, 3, 5]). Write a code snippet to find their dot product.
Remember how to perform element-wise multiplication.
Create a 4x4 identity matrix using NumPy and explain its significance.
Think about the role of identity in matrix equations.
4 more questions in this section. Enroll free to practise them all.
Enroll free