I have a dataframe of 2000 rows and 500 columns. I want to sort every column in ascending order. The columns don\'t have names they\'re just numbered 0-500.
Random d
I think the most elegant solution nowadays is df.transform(np.sort).
df.transform(np.sort)