CBSE BOARD XII, asked by gauriporwal, 10 months ago

Program to create a numpy 1D array with all elements as Boolean True .

Answers

Answered by 4team
0

Answer:

first mark my answer as brainliest first answer and vote me

Explanation:

A boolean array can be created manually by using dtype=bool when creating the array. Values other than 0 , None , False or empty strings are considered True. Alternatively, numpy automatically creates a boolean array when comparisons are made between arrays and scalars or between arrays of the same shape.

first mark my answer as brainliest first answer and vote me

Similar questions