From my code a get a 2D dataframe which i converted to an array. My array is for example like this:
print(array.shape) #(574,9)
In my code I want