affine commited on
Commit
518aa1f
1 Parent(s): a7458d8

Update pages/1_Store Demand Forecasting.py

Browse files
Files changed (1) hide show
  1. pages/1_Store Demand Forecasting.py +22 -1
pages/1_Store Demand Forecasting.py CHANGED
@@ -177,7 +177,7 @@ if option=='TFT':
177
 
178
  #--------------------------------------------------------------------------------------------------------------
179
  # tabs
180
- tab1,tab2=st.tabs(['📈Forecast Plot','🗃Forecast Table'])
181
  #------------------------------------------------Tab-1-----------------------------------------------------------
182
  tab1.markdown("""
183
  <div style='text-align: left; margin-top:-10px;margin-bottom:-10px;'>
@@ -245,6 +245,27 @@ if option=='TFT':
245
  "text/csv",
246
  key='download-csv'
247
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
248
  except:
249
  st.sidebar.error('Model Not Loaded successfully!',icon="🚨")
250
 
 
177
 
178
  #--------------------------------------------------------------------------------------------------------------
179
  # tabs
180
+ tab1,tab2,tab3=st.tabs(['📈Forecast Plot','🗃Forecast Table','🗃Actual Data'])
181
  #------------------------------------------------Tab-1-----------------------------------------------------------
182
  tab1.markdown("""
183
  <div style='text-align: left; margin-top:-10px;margin-bottom:-10px;'>
 
245
  "text/csv",
246
  key='download-csv'
247
  )
248
+ #--------------------------------Tab-3----------------------------------------------
249
+ tab3.markdown("""
250
+ <div style='text-align: left; margin-top:-10px;margin-bottom:-10px;'>
251
+ <h2 style='font-size: 30px; font-family: Palatino, serif;
252
+ letter-spacing: 2px; text-decoration: none;'>
253
+ &#x1F4C8;
254
+ <span style='background: linear-gradient(45deg, #ed4965, #c05aaf);
255
+ -webkit-background-clip: text;
256
+ -webkit-text-fill-color: transparent;
257
+ text-shadow: none;'>
258
+ Actual Dataset
259
+ </span>
260
+ <span style='font-size: 40%;'>
261
+ <sup style='position: relative; top: 5px; color: #ed4965;'></sup>
262
+ </span>
263
+ </h2>
264
+ </div>
265
+ """, unsafe_allow_html=True)
266
+ actual_data=train_dataset[['date','store','item','sales']]
267
+ tab3.dataframe(actual_data,width=500)
268
+
269
  except:
270
  st.sidebar.error('Model Not Loaded successfully!',icon="🚨")
271