Commit 2a4a64d6 authored by 吕先亚's avatar 吕先亚

Ylable不做填充

parent 0c44c182
......@@ -153,6 +153,9 @@ class TrainingDataBuilder(ABC):
DataAll[col].ffill(inplace=True)
# 根据预测的数据删除节假日
DataAll.dropna(subset=[DataAll.columns[1]], inplace=True)
for col in DataAll.columns:
if col not in ['futureR', 'yLabel']:
DataAll[col].ffill(inplace=True)
if self._toForecast:
# 处理CPI_YOY:美国城镇消费物价指数同比未经季 CPURNSA:美国消费者物价指数未经季调
DataAllCopy = DataAll.copy()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment