farquasar commited on
Commit
f3fc0da
·
verified ·
1 Parent(s): 047a662

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -134,8 +134,8 @@ def generate_advanced_features(d, other_data=None):
134
  other_data = other_data.loc[:, ~other_data.columns.duplicated()]
135
  d['relative_strength'] = d['close'] / other_data['close']
136
  d['relative_strength_1'] = d['close'].shift(2) / other_data['close'].shift(2)
137
- return d.iloc[:,1:].values
138
-
139
 
140
  def create_features_and_labels_with_advanced_features(btc, eth):
141
  btc_copy = btc.copy()
 
134
  other_data = other_data.loc[:, ~other_data.columns.duplicated()]
135
  d['relative_strength'] = d['close'] / other_data['close']
136
  d['relative_strength_1'] = d['close'].shift(2) / other_data['close'].shift(2)
137
+ return d.iloc[:,1:].values
138
+
139
 
140
  def create_features_and_labels_with_advanced_features(btc, eth):
141
  btc_copy = btc.copy()