If ther is a list [[1,2,3],[4,5,6]] how do I convert it to [[1,4],[2,5],[3,6]] ?
def colu(j, data):
return [data[i][j] for i in range(len(data))]
I understand that this code is from right to left but I don't know how to do it in the opposite way.