PlasmaCalcs.hookups.bifrost.bifrost_stagger.transpose_to_0

PlasmaCalcs.hookups.bifrost.bifrost_stagger.transpose_to_0(array, x)
move x (int) axis to the front of array (numpy array), by swapping with 0th axis.
Note this is its own inverse, i.e. transpose_to_0(transpose_to_0(array, x), x) == array.