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)
Super learner
This user is a Super Learner. To become a Super Learner, you need to reach Level 8.
just use str instead of np.str
same with bool
the reason is buried in the error message somewhere
use 'str_'
similary, use 'bool_'