SciPy

numpy.chararray.isdigit

chararray.isdigit()[source]

Returns true for each element if all characters in the string are digits and there is at least one character, false otherwise.

See also

char.isdigit