You have already completed these exercises!
Do you want to take them again?
You completed the NUMPY Filter Arrays Exercises from W3Schools.com
Share on:
Consider the following code:import numpy as nparr = np.array(['a', 'b', 'c'])x = arr[[True, False, True]]print(x)What will be the printed result?
import numpy as nparr = np.array(['a', 'b', 'c'])x = arr[[True, False, True]]print(x)
['b']
['a' 'c']
['a' 'b' 'c']