聚烯烃拼接信息保存到本地

This commit is contained in:
liurui 2024-11-22 17:43:28 +08:00
parent 8b3c392cff
commit 74e6ccb79a
3 changed files with 26 additions and 17 deletions

View File

@ -40,7 +40,8 @@ pdfmetrics.registerFont(TTFont('SimSun', 'SimSun.ttf'))
plt.rcParams['font.sans-serif'] = ['SimHei'] # 用来正常显示中文标签 plt.rcParams['font.sans-serif'] = ['SimHei'] # 用来正常显示中文标签
plt.rcParams['axes.unicode_minus'] = False # 用来正常显示负号 plt.rcParams['axes.unicode_minus'] = False # 用来正常显示负号
from config_jingbo import * # from config_jingbo import *
from config_juxiting import *

View File

@ -655,7 +655,7 @@ def model_losss_juxiting(sqlitedb):
df_combined3[col] = df_combined3[col].round(2) df_combined3[col] = df_combined3[col].round(2)
except ValueError: except ValueError:
pass pass
df_combined3.to_csv(os.path.join(dataset,"df_combined3.csv"),index=False) df_combined3.to_csv(os.path.join(dataset,"testandpredict_groupby.csv"),index=False)
# 历史价格+预测价格 # 历史价格+预测价格
# 将预测结果保存到数据库 # 将预测结果保存到数据库

File diff suppressed because one or more lines are too long