Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What library do we use in Python for numerical operations?
Think about the standard library for numerical computations.
How would you create a NumPy array of numbers 4, 5, 6?
Remember the function used to create arrays.
What is the main purpose of NumPy?
Think of applications in data science.
True or False: NumPy arrays can contain mixed data types.
Remember the characteristics of data storage in NumPy.
Given a NumPy array containing the first ten prime numbers, write a function to calculate and return the mean of these numbers.
Use the same `mean()` function we discussed.
Create a NumPy array that contains the squares of numbers between 1 and 10. Write the code to calculate their mean.
Think about list comprehensions as you create the array.
6 more questions in this section. Enroll free to practise them all.
Enroll free