import seaborn import pandas excel=pandas.read_excel(r'E:\pandas練習\成績單.xlsx') color_map=seaborn.light_palette('green',as_cmap=True) a=excel.style.background_gradient(color_map,subset=['test_1','test_2','test_3'])
a.to_excel()

轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/89973.html
標籤:Python
上一篇:條件格式化1
下一篇:格式化3
