SyntaxFix
Write A Post
Hire A Developer
Questions
import numpy as np # ND array list with different size a = [[1],[2,3,4,5],[6,7,8]] # stack them b = np.hstack(a) print(b)
[1 2 3 4 5 6 7 8]