Spaces:
Running
Running
Commit
·
2ddccbd
1
Parent(s):
39d5cfb
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def get_df(ticker, startdate , enddate , interval="1d",window=50,window2=150):
|
|
| 21 |
return DF
|
| 22 |
|
| 23 |
def get_hvplot(ticker , startdate , enddate , interval,window,window2):
|
| 24 |
-
DF = get_df(ticker , startdate=startdate , enddate=enddate , interval=interval,window=window)
|
| 25 |
|
| 26 |
import hvplot.pandas # Ensure hvplot is installed (pip install hvplot)
|
| 27 |
from sklearn.linear_model import LinearRegression
|
|
|
|
| 21 |
return DF
|
| 22 |
|
| 23 |
def get_hvplot(ticker , startdate , enddate , interval,window,window2):
|
| 24 |
+
DF = get_df(ticker , startdate=startdate , enddate=enddate , interval=interval,window=window,window2=windows2)
|
| 25 |
|
| 26 |
import hvplot.pandas # Ensure hvplot is installed (pip install hvplot)
|
| 27 |
from sklearn.linear_model import LinearRegression
|