human
Python: How do I convert an array of strings to an array of numbers?
assistant
Here is some code to convert a list of strings `['1', '-1', '1']` to a list of numbers

map(int, ['1', '-1', '1'])

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