create a matrix from two columns python code example Example: python combine two columns into matrix list(zip(*[col1,col2,col3]))