SyntaxFix
Write A Post
Hire A Developer
Questions
You can do this:
a = np.array([]) for x in y: a = np.append(a, x)