Getting error while setting dtype=np.str
I am getting the error message (
module 'numpy' has no attribute 'str'
)
Please resolve the issue
1 answers ( 0 marked as helpful)
You need to add an underscore after the str. Use dtype = np.str_