SyntaxFix
Write A Post
Hire A Developer
Questions
Another quick and dirty answer is that you can just convert your list to an array using:
import numpy as np arr = np.asarray(listname)