chararray.
isspace
Returns true for each element if there are only whitespace characters in the string and there is at least one character, false otherwise.
See also
char.isspace
numpy.chararray.isnumeric
numpy.chararray.istitle