CommencezCommencez gratuitement

Correcting a broken import

In this exercise, we'll learn to import numpy, a module for performing mathematical operations on lists of data. The standard alias for numpy is np.


What did you need to change to make the import run without errors?

Cette activité fait partie du cours

Introduction to Data Science in Python

Voir le cours

Exercice interactif pratique

Essayez cet exercice en complétant ce code d’exemple.

# Fix the import of numpy to run without errors
import NumPy as np
Modifier et exécuter le code