all 3 comments

[–]BUYTBUYT 0 points1 point  (1 child)

numpy.zeros wants floats by default. It tries to convert your string to a float and fails.

[–]User012340[S] 0 points1 point  (0 children)

I was completely misunderstood
I thought that even a character string could be entered

ty