Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -210,8 +210,8 @@ def transfer_learning_forecasting():
|
|
210 |
opt = []
|
211 |
ds_col = st.selectbox("Select Date/Time column", options=columns, index=columns.index('ds') if 'ds' in columns else 0)
|
212 |
if 'ds' in columns and 'unique_id' in columns:
|
213 |
-
columns.pop('ds')
|
214 |
-
columns.pop('unique_id')
|
215 |
opt = columns
|
216 |
y_col = st.selectbox("Select Target column", options=opt, index=0)
|
217 |
|
@@ -295,8 +295,8 @@ def dynamic_forecasting():
|
|
295 |
opt = []
|
296 |
ds_col = st.selectbox("Select Date/Time column", options=columns, index=columns.index('ds') if 'ds' in columns else 0)
|
297 |
if 'ds' in columns and 'unique_id' in columns:
|
298 |
-
columns.pop('ds')
|
299 |
-
columns.pop('unique_id')
|
300 |
opt = columns
|
301 |
y_col = st.selectbox("Select Target column", options=opt, index=0)
|
302 |
|
@@ -339,8 +339,8 @@ def timegpt_fcst():
|
|
339 |
opt = []
|
340 |
ds_col = st.selectbox("Select Date/Time column", options=columns, index=columns.index('ds') if 'ds' in columns else 0)
|
341 |
if 'ds' in columns and 'unique_id' in columns:
|
342 |
-
columns.pop('ds')
|
343 |
-
columns.pop('unique_id')
|
344 |
opt = columns
|
345 |
y_col = st.selectbox("Select Target column", options=opt, index=0)
|
346 |
|
@@ -384,8 +384,8 @@ def timegpt_anom():
|
|
384 |
opt = []
|
385 |
ds_col = st.selectbox("Select Date/Time column", options=columns, index=columns.index('ds') if 'ds' in columns else 0)
|
386 |
if 'ds' in columns and 'unique_id' in columns:
|
387 |
-
columns.pop('ds')
|
388 |
-
columns.pop('unique_id')
|
389 |
opt = columns
|
390 |
y_col = st.selectbox("Select Target column", options=opt, index=0)
|
391 |
|
|
|
210 |
opt = []
|
211 |
ds_col = st.selectbox("Select Date/Time column", options=columns, index=columns.index('ds') if 'ds' in columns else 0)
|
212 |
if 'ds' in columns and 'unique_id' in columns:
|
213 |
+
columns.pop(columns.index('ds'))
|
214 |
+
columns.pop(columns.index('unique_id'))
|
215 |
opt = columns
|
216 |
y_col = st.selectbox("Select Target column", options=opt, index=0)
|
217 |
|
|
|
295 |
opt = []
|
296 |
ds_col = st.selectbox("Select Date/Time column", options=columns, index=columns.index('ds') if 'ds' in columns else 0)
|
297 |
if 'ds' in columns and 'unique_id' in columns:
|
298 |
+
columns.pop(columns.index('ds'))
|
299 |
+
columns.pop(columns.index('unique_id'))
|
300 |
opt = columns
|
301 |
y_col = st.selectbox("Select Target column", options=opt, index=0)
|
302 |
|
|
|
339 |
opt = []
|
340 |
ds_col = st.selectbox("Select Date/Time column", options=columns, index=columns.index('ds') if 'ds' in columns else 0)
|
341 |
if 'ds' in columns and 'unique_id' in columns:
|
342 |
+
columns.pop(columns.index('ds'))
|
343 |
+
columns.pop(columns.index('unique_id'))
|
344 |
opt = columns
|
345 |
y_col = st.selectbox("Select Target column", options=opt, index=0)
|
346 |
|
|
|
384 |
opt = []
|
385 |
ds_col = st.selectbox("Select Date/Time column", options=columns, index=columns.index('ds') if 'ds' in columns else 0)
|
386 |
if 'ds' in columns and 'unique_id' in columns:
|
387 |
+
columns.pop(columns.index('ds'))
|
388 |
+
columns.pop(columns.index('unique_id'))
|
389 |
opt = columns
|
390 |
y_col = st.selectbox("Select Target column", options=opt, index=0)
|
391 |
|