SciPy

numpy.core.defchararray.chararray.isnumeric

chararray.isnumeric()[source]

For each element in self, return True if there are only numeric characters in the element.

See also

char.isnumeric