How can I create a 2-d array from 1-d array in python?
Example :
i/p 1-D array : [3,4,6]
Result :
o/p 2-D array : [[3,], [4,], [6,]]
Or lets say a dataframe column with values = [3,4,6]
as the 2-d above mentioned array.
Thanks in advance.