Answers for "combine 2 lists in python to array"

0

python combine two lists into matrix

np.column_stack(([1, 2, 3], [4, 5, 6]))
array([[1, 4],
       [2, 5],
       [3, 6]])
Posted by: Guest on December-12-2020

Code answers related to "combine 2 lists in python to array"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language