# welcome to softhunt.net # Python program explaining # numpy.ndarray.flatten() function # importing numpy as np import numpy as np arr = np.array([[8, 7], [6, 5]]) softhunt = arr.flatten('F') print( softhunt )