def setUpClass(cls):
cls.f = test_frame
cls.writer = pd.ExcelWriter(path_for('charts', cls.__name__), engine=cls.to_excel_args['engine'])
cls.xlmap = cls.f.to_excel(cls.writer, **cls.to_excel_args)
cls.workbook = cls.xlmap.writer.book
return cls
评论列表
文章目录