Row Correlation Heatmap Pandas

I'm trying to find any relationship/patterns between a large number of rows in a dataset (~2000) and I'm thinking of using a correlation heatmap. However, after transforming the df using df = df.T.corr() and only plotting the first 100 rows with seaborn, it already starts to look unreadable:

Is there a clearer way to do this with a larger number of rows?

• Sorting the correlation matrix may provide clusters of variables, see here for one description of how to sort them. – Andy W Jul 11 '16 at 12:17
• Any Python based solutions? – user3508494 Jul 11 '16 at 13:18
• I found sns.clustermap(df.T.corr(), metric='correlation', method='centroid') which might do the trick. – tmrlvi Nov 22 '17 at 15:26
• Try to do some basic clustering before (with the kernel trick if necessary), then order your dataset with respect to the classes. In python, use scikit-learn's k-means, PCA or whatever clustering technique works with your data. – Romain Reboulleau Oct 4 '18 at 11:06