IIUC, given
array = [[[0,0,1,0],[0,0,0,1],[1,0,0,0],[0,1,0,0]],
[[0,1,0],[1,0,0],[0,0,1],[0,0,1]],
[[0],[1],[0],[1]],
[[1],[1],[0],[1]]]
Do
import numpy as np
>>> np.array(array).T
array([[list([0, 0, 1, 0]), list([0, 1, 0]), list([0]), list([1])],
[list([0, 0, 0, 1]), list([1, 0, 0]), list([1]), list([1])],
[list([1, 0, 0, 0]), list([0, 0, 1]), list([0]), list([0])],
[list([0, 1, 0, 0]), list([0, 0, 1]), list([1]), list([1])]],
2
solved Reshaping a weird list in python [duplicate]