<human>:  Convert string to numpy array
<bot>: Here is some code to convert a string 'mystr' to numpy array of integer values

print(np.array(list(mystr), dtype=int))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.