numpy.core.defchararray.isnumeric

numpy.core.defchararray.isnumeric(a)

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

Calls unicode.isnumeric element-wise.

Numeric characters include digit characters, and all characters that have the Unicode numeric value property, e.g. U+2155, VULGAR FRACTION ONE FIFTH.

Parameters:

a : array-like of unicode

Returns:

out : ndarray

Array of booleans

See also

unicode.isnumeric

Previous topic

numpy.core.defchararray.islower

Next topic

numpy.core.defchararray.isspace

This Page