how to make a transpose of 6*1 in python code example Example: transpose matrix python arr = list(list(x) for x in zip(*arr))