【发布时间】:2019-07-11 08:18:00
【问题描述】:
我正在尝试将我的相关热图导出到 Excel。我在 python 上找不到任何文档/语法
corr.style.background_gradient(cmap='coolwarm').set_precision(2)
corr.style. \
apply(background_gradient, axis=None).\
to_excel("mev_corr_matrix.xlsx", engine="openpyxl")
I want to export the heatmap as is to excel
【问题讨论】:
标签: python python-3.x pandas jupyter correlation