Array of strings
Hi, i received this error when i tried to create an array of strings
AttributeError: module 'numpy' has no attribute 'str'
2 answers ( 0 marked as helpful)
just use str instead of np.str
same with bool
the reason is buried in the error message somewhere
use 'str_'
similary, use 'bool_'