from pyecharts.components import Table
from pyecharts.options import ComponentTitleOpts
table = Table()
headers = ["时间", "SYS", "EXAM", "ZHENGHE", "V&V", "PA", "SI", "RSW", "GSW", "CWCV", "CCB_CT"]
rows = [
["T<=7", 1, 2, 0, 3, 0, 3, 2, 0, 2, 5],
["7<T<=14", 0, 1, 1, 2, 0, 0, 0, 0, 1, 0],
["14<T<=30", 0, 0, 0, 4, 0, 1, 0, 0, 0, 0],
["30<T", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
]
table.add(headers, rows, attributes={
})
table.set_global_opts(
title_opts=ComponentTitleOpts(title="遗留Task分布")
)
table.render("table_base.html")
111111
最新推荐文章于 2024-07-23 21:45:09 发布