If you want to change the positions of rows or columns in a Numpy array, simply use a list to specify the new positions as shown above.
array-to-latex: Turn a Numpy Array into Latex
unyt: Manipulate and Convert Units in NumPy Arrays
NumPy.take: Take Elements From an Array