Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.
Fun, engaging games to boost memory, math fluency, typing speed, and English skillsβperfect for learners of all ages.
Enroll to start learning
Youβve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take mock test.
Test your understanding with targeted questions related to the topic.
Question 1
Easy
What is the command to create a 2D NumPy array with values [[1, 2], [3, 4]]?
π‘ Hint: Think about the syntax `np.array()`.
Question 2
Easy
What does np.zeros((3, 3))
do?
π‘ Hint: Recall what zeros represent in initialization.
Practice 4 more questions and get performance evaluation
Engage in quick quizzes to reinforce what you've learned and check your comprehension.
Question 1
What does NumPy stand for?
π‘ Hint: Think about the focus of this library.
Question 2
True or False: NumPy arrays are slower than Python lists in numerical operations.
π‘ Hint: Think about why we use NumPy in machine learning.
Solve 2 more questions and get performance evaluation
Push your limits with challenges.
Question 1
You are given an array of shape (3, 4). Reshape it into a shape of (2, 6). How do you do it, and what does the resulting array look like?
π‘ Hint: Remember, the total number of elements must stay constant.
Question 2
Implement a Python function using NumPy to normalise an array (subtract the mean and divide by the standard deviation). What will be the general structure of your function?
π‘ Hint: Think about mean and std calculations, and how they relate to normalizing data.
Challenge and get performance evaluation