numpy.core.defchararray.equal(x1,x2)[source]¶Return (x1 == x2) element-wise.
Unlikenumpy.equal, this comparison is performed by firststripping whitespace characters from the end of the string. Thisbehavior is provided for backward-compatibility with numarray.
| Parameters: | x1, x2 : array_like of str or unicode
|
|---|---|
| Returns: | out : ndarray or bool
|
See also