上一个主题

numpy.core.defchararray.islower

下一个主题

numpy.core.defchararray.isspace

numpy.core.defchararray.isnumeric

numpy.core.defchararray.isnumeric(a)[源代码]

对于每个元素,如果元素中只有数字字符,则返回true。

电话 unicode.isnumeric 元素的。

数字字符包括数字字符和所有具有Unicode数值属性的字符,例如 U+2155, VULGAR FRACTION ONE FIFTH .

参数:
a : 类似数组,Unicode

输入数组。

返回:
out : 恩达雷

形状与相同的布尔数组 a .

参见

unicode.isnumeric