Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -144,8 +144,8 @@ def save_to_csv(stock_name):
|
|
144 |
fstock, profit_data = get_stock_data(stock_name)
|
145 |
csv_file_path = f'{stock_name}.csv'
|
146 |
|
147 |
-
fstock['Date'] = pd.to_datetime(fstock['Date']).dt.date
|
148 |
-
profit_data['Date'] = pd.to_datetime(profit_data['Date']).dt.date
|
149 |
|
150 |
return fstock, profit_data, csv_file_path
|
151 |
|
|
|
144 |
fstock, profit_data = get_stock_data(stock_name)
|
145 |
csv_file_path = f'{stock_name}.csv'
|
146 |
|
147 |
+
# fstock['Date'] = pd.to_datetime(fstock['Date']).dt.date
|
148 |
+
# profit_data['Date'] = pd.to_datetime(profit_data['Date']).dt.date
|
149 |
|
150 |
return fstock, profit_data, csv_file_path
|
151 |
|