Back to Numerical Arrays (NumPy)
np.logical_and
Compute the truth value of x1 AND x2 element-wise.
Syntax
np.logical_and(x1, x2)
Description
Compute the truth value of x1 AND x2 element-wise.
Parameters
| Name | Description |
|---|---|
| x1 | NDArray |
| x2 | NDArray |
Returns
NDArray