Skip to content

Instantly share code, notes, and snippets.

@lf2foce
Created October 23, 2020 10:22
Show Gist options
  • Save lf2foce/6a9f39fd56cdc248770ee904671051f7 to your computer and use it in GitHub Desktop.
Save lf2foce/6a9f39fd56cdc248770ee904671051f7 to your computer and use it in GitHub Desktop.
recent_data = data_index_pivot.copy()
corr_matrix = recent_data.corr()
f, ax = plt.subplots(figsize =(18, 15))
sns.heatmap(corr_matrix, ax = ax, cmap ="coolwarm", linewidths = 0.1, square=True, vmin=-1, vmax=1, center= 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment