Return (x1 <= x2) element-wise.
x1, x2 : array_like
Input arrays.
Out : {ndarray, bool}
Output array of bools, or a single bool if x1 and x2 are scalars.
See also
less, greater_equal, greater, equal, not_equal
Examples
>>> np.less_equal([1, 2, 3], [2, 2, 2]) array([ True, True, False], dtype=bool)
numpy.less
numpy.equal
Enter search terms or a module, class or function name.