NumPy - Array Operations
Which NumPy function is used to perform element-wise logical NOT on a boolean array?
np.logical_not performs element-wise negation of boolean values.np.logical_and and np.logical_or perform AND and OR respectively. np.invert can invert bits but is not recommended for boolean arrays.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions