2222222

from pyecharts.components import Table
from pyecharts.options import ComponentTitleOpts

table = Table()

headers = ["部门", "5月得分", "本月扣分", "本月加分", "本月得分"]
rows = [
    ["SWD-SI", 103, 0, 2, 105],
    ["SWD-GSW", 101, 0, 4, 105],
    ["CWCV", 100.5, 4, 8, 104.5],
    ["SYS-XSE", 100, 0, 4, 104],
    ["SWD-RSW", 100, 0, 2, 102],
    ["PA-CPA", 100, 0, 2, 102],
    ["PA-RPA", 100, 0, 2, 102],
    ["PRODM", 97, 0, 2, 99],
    ["PM", 92, 0, 6, 98],
    ["SYS-SSE", 100, 6, 2, 96],
    ["SYS-SE", 95.5, 8, 5.5, 93],
    ["DCOE", 93, 4, 4, 93],
    ["V&V", 83.5, 14, 11, 80.5]
]
table.add(headers, rows, attributes={

})
table.set_global_opts(
    title_opts=ComponentTitleOpts(title="各部门质量信用积分及排名")
)
table.render("table_base1.html")

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值