data
is a 1256x277 matrix
np.array_split(ary=data, indices_or_sections=10, axis=1)
gives us a list of 1256x28 data
But when I do:
sub_data_ndarray = np.array(object=np.array_split(ary=data, indices_or_sections=10, axis=1))
I get the error:
ValueError: could not broadcast input array from shape (1256,28) into shape (1256)
?