Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
can only concatenate str (not "numpy.uint8") to str
Kassandra Kaplan
Programming language:
Whatever
2021-05-06 04:26:21
0
Q:
can only concatenate str (not "numpy.uint8") to str
Aspergirl89
Code:
Whatever
2021-06-27 16:52:59
test_labels[i] # is not a string so just change it into one str(test_labels[i]) # should fix it
0
Tags
con
Related
float() argument must be a string or a number, not 'dict_values'
TypeError: strptime() argument 1 must be str, not Series
numpy create string array
Argument data type text is invalid for argument 1 of len function.
Type error: Argument 1 passed to Illuminate\Database\Grammar::parameterize()
can't convert np.ndarray of type numpy.object_.
numpy random for string
TypeError: argument 1 must be pygame.Surface, not str
New to Communities?
Join the community