I am trying to convert a 1d array to a 3d array where each floor of the 3d array is built in the column-major order. So for example, if I have
A = np.array([i