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