QUESTION IMAGE
Question
question 5
what type of values can a numpy array contain?
only values of multiple types.
only strings.
only values of a single type.
only integers.
question 6
what is the result of using a boolean array for subsetting a numpy array?
it returns a new array with elements set to true or false.
it selects elements corresponding to true in the boolean array.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
Only values of a single type.
It selects elements corresponding to True in the boolean array.