Return (x1 >= x2) element-wise. Unlike `numpy.greater_equal`, this comparison is performed by first stripping whitespace characters from the end of the string. This behavior is provided for backward-compatibility with numarray. Parameters ---------- x1, x2 : array_
(x1, x2)
| 155 | |
| 156 | @array_function_dispatch(_binary_op_dispatcher) |
| 157 | def greater_equal(x1, x2): |
| 158 | """ |
| 159 | Return (x1 >= x2) element-wise. |
| 160 | |
| 161 | Unlike `numpy.greater_equal`, this comparison is performed by |
| 162 | first stripping whitespace characters from the end of the string. |
| 163 | This behavior is provided for backward-compatibility with |
| 164 | numarray. |
| 165 | |
| 166 | Parameters |
| 167 | ---------- |
| 168 | x1, x2 : array_like of str or unicode |
| 169 | Input arrays of the same shape. |
| 170 | |
| 171 | Returns |
| 172 | ------- |
| 173 | out : ndarray |
| 174 | Output array of bools. |
| 175 | |
| 176 | See Also |
| 177 | -------- |
| 178 | equal, not_equal, less_equal, greater, less |
| 179 | """ |
| 180 | return compare_chararrays(x1, x2, '>=', True) |
| 181 | |
| 182 | |
| 183 | @array_function_dispatch(_binary_op_dispatcher) |