SyntaxFix
Write A Post
Hire A Developer
Questions
Another solution.... :-)
import numpy as np a = [1,2,4]
[1, 2, 4]
b = np.array([a]).T
array([[1], [2], [4]])