Getting help

You'll need to use the .astype() array method we covered in the first chapter of this course for the next exercise. If you forget exactly how .astype() works, you could check out the course slides or NumPy's documentation on numpy.org. There is, however, an even faster way to jog your memory…

numpy is loaded as np.

Diese Übung ist Teil des Kurses

Introduction to NumPy

Kurs anzeigen

Anleitung zur Übung

  • Return NumPy's documentation text for .astype().

Interaktive Übung zum Anfassen

Probieren Sie diese Übung aus, indem Sie diesen Beispielcode ausführen.

# Display the documentation for .astype()
____