lt=np.reshape(np.array([1,2,3,4,5,6]), (3, 2)).tolist()
print(lt)
[[1, 2], [3, 4], [5, 6]]
list(zip(*[iter(lst)]*2))
l = [1, 2, 3, 4, 5, 6]
l = [[l[i], l[j]] for i, j in zip(range(0, len(l) - 1, 2), range(1, len(l), 2))]
print(l)
zip()
можно сократить так:l = [1, 2, 3, 4, 5, 6]
l = [[i, j] for i, j in zip(l[0::2], l[1::2])]
print(l)