a10 commited on
Commit
86562c8
·
1 Parent(s): 4a2deeb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -24,6 +24,8 @@ csv_path = "jena_climate_2009_2016.csv"
24
  df = pd.read_csv(csv_path)
25
 
26
  if ("0" != "mycustom"):
 
 
27
  st.dataframe(df)
28
 
29
  #%%
@@ -199,4 +201,3 @@ fig = plot()
199
  st.pyplot(fig)
200
 
201
  # %%
202
-
 
24
  df = pd.read_csv(csv_path)
25
 
26
  if ("0" != "mycustom"):
27
+ mybacklogmax = 10
28
+ df = df.head(n=mybacklogmax)
29
  st.dataframe(df)
30
 
31
  #%%
 
201
  st.pyplot(fig)
202
 
203
  # %%