格式化3

import   pandas
excel=pandas.read_excel(r'E:pandas练习成绩单.xlsx')
b=excel.style.bar(color='orange',subset=['test_1','test_2','test_3'])
b.to_excel()

原文地址:https://www.cnblogs.com/luckiness/p/13282853.html