Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What is the command to import NumPy?
Look for 'numpy' in the command.
How would you create a NumPy array from a list?
Remember to use the np prefix for NumPy functions.
What library would you use for handling data tables in Python?
Think about which library focuses on data structures like DataFrames.
True or False: NumPy is frequently used for string manipulation.
Consider what types of operations are most common for NumPy.
Given a DataFrame with different animals and their ages, write a Python code to add a new column indicating whether each animal is 'Adult' or 'Young'.
Consider how you might categorize ages using conditional statements.
Create a NumPy array of 10 random numbers and calculate the variance. Write the code up to calculating the variance.
Remember how to generate random numbers and that variance is a measure of spread in statistics.
5 more questions in this section. Enroll free to practise them all.
Enroll free