You have already completed these exercises!
Do you want to take them again?
You completed the NUMPY Data Types Exercises from W3Schools.com
Share on:
Consider the following code:import numpy as nparr = np.array([-1, 0, 1])newarr = arr.astype(bool)print(newarr)What will be the printed result?
import numpy as nparr = np.array([-1, 0, 1])newarr = arr.astype(bool)print(newarr)