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.
Deze oefening maakt deel uit van de cursus
Introduction to NumPy
Oefeninstructies
- Return NumPy's documentation text for
.astype().
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Display the documentation for .astype()
____