@@ -58,7 +58,7 @@ class BaseHandler(RequestHandler, DateUtils):
# with open(f'./{pitcher}_{start}_{end}.csv','w',newline='') as f:
# f.write(df)
with ExcelWriter("xxxx.xlsx") as ew:
- df.to_excel(ew,sheet_name="1",index=False)
+ pd.DataFrame(data).to_excel(ew,sheet_name="1",index=False)
self.write(df)