numpy.chararray.isalnum

chararray.isalnum()[source]

如果字符串中的所有字符都是字母数字,并且至少有一个字符,则为每个元素返回true,否则返回false。

也可以看看

char.isalnum