I have the following numpy array dimension: [64, 897]. This data is generated after each experiment. I have 8 subjects in total and I did the experiments 6 times per subject.
Therefore, I would like to have at the end a 4 dimensional array of the following size: [8, 6, 64, 897].
How can I achieve this in numpy in python.
Any help is much appreciated!!
np.stackspecifyingaxis=0