瀏覽代碼

fix:修改stl python脚本

zqbao 4 月之前
父節點
當前提交
7abf9a11ac
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      services/data/stl/stl.go

+ 1 - 1
services/data/stl/stl.go

@@ -434,7 +434,7 @@ import warnings
 warnings.filterwarnings('ignore')
 
 file_path = r"%s"
-df = pd.read_excel(file_path, parse_dates=['日期'])
+df = pd.read_excel(file_path, parse_dates=['日期'], engine='openpyxl')
 df.set_index('日期', inplace=True)