Browse Source

fix:修改stl python脚本

zqbao 4 months ago
parent
commit
7abf9a11ac
1 changed files with 1 additions and 1 deletions
  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)