# numpy.swapaxes() function | Python # Python program explaining# numpy.swapaxes() function  # importing numpy as geek import numpy as geek  arr = geek.array([[2, 4, 6]])  gfg = geek.swapaxes(arr, 0, 1)  print (gfg)