Back to Numerical Arrays (NumPy)
np.strGreater
Return (x1 > x2) element-wise for string arrays.
Syntax
np.strGreater(x1, x2)
Description
Return (x1 > x2) element-wise for string arrays. Comparison is lexicographic.
Parameters
| Name | Description |
|---|---|
| x1 | - First string array |
| x2 | - Second string array |
Returns
NDArray