mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Added missing s
This commit is contained in:
parent
3f8400df10
commit
11b2bc269e
|
@ -300,7 +300,7 @@ class FreqaiDataKitchen:
|
|||
)
|
||||
|
||||
for item in train_max.keys():
|
||||
if not [col for col in df_train_features.columns if col.startwith('PC')]:
|
||||
if not [col for col in df_train_features.columns if col.startswith('PC')]:
|
||||
self.data[item + "_max"] = train_max[item]
|
||||
self.data[item + "_min"] = train_min[item]
|
||||
else:
|
||||
|
@ -327,7 +327,7 @@ class FreqaiDataKitchen:
|
|||
- 1
|
||||
)
|
||||
|
||||
if not [col for col in df_train_features.columns if col.startwith('PC')]:
|
||||
if not [col for col in df_train_features.columns if col.startswith('PC')]:
|
||||
self.data[f"{item}_max"] = train_labels_max # .to_dict()
|
||||
self.data[f"{item}_min"] = train_labels_min # .to_dict()
|
||||
else:
|
||||
|
@ -344,7 +344,7 @@ class FreqaiDataKitchen:
|
|||
:param df: Dataframe to be standardized
|
||||
"""
|
||||
|
||||
if not [col for col in df.columns if col.startwith('PC')]:
|
||||
if not [col for col in df.columns if col.startswith('PC')]:
|
||||
id_str = ''
|
||||
else:
|
||||
# if PCA is enabled
|
||||
|
|
Loading…
Reference in New Issue
Block a user