Aan de slagGa gratis aan de slag

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?

Deze oefening maakt deel uit van de cursus

Introduction to Data Science in Python

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Fix the import of numpy to run without errors
import NumPy as np
Code bewerken en uitvoeren