Last answered:

08 Jan 2024

Posted on:

20 Feb 2023

0

Array of strings

Hi, i received this error when i tried to create an array of strings


AttributeError: module 'numpy' has no attribute 'str'

1 answers ( 0 marked as helpful)
Super learner
This user is a Super Learner. To become a Super Learner, you need to reach Level 8.
Posted on:

08 Jan 2024

0

just use str instead of np.str


same with bool


the reason is buried in the error message somewhere

Submit an answer