もっと詳しく

連載目次 from openpyxl import Workbook from openpyxl.chart import Reference, LineChart wb = Workbook() ws = wb.active values = [ (‘YEAR’, ‘A’, ‘B’, ‘C’), (2017, 600, 450, 400), (2018, 550, 500, 350), (2019, 750, 650, 450), (2020, 600, 750, 550), (2021, 800, 650, 500) ] for v in v…