[Numpy-discussion] How to distinguish between number and string dypes

Pierre GM pgmdevlist at gmail.com
Thu May 27 00:02:57 EDT 2010


On May 26, 2010, at 11:52 PM, Vincent Davis wrote:
> 
> How do I determine if an array's (or column in a structured array) dtype is a number or a string. I see how to determine the actual dtype but all I want to know is if it is a string or a number.

Check `numpy.lib._iotools._is_string_like`


More information about the NumPy-Discussion mailing list