a10 commited on
Commit
06a175a
·
1 Parent(s): ab2efe4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
 
2
 
3
  import streamlit as st
@@ -67,8 +68,8 @@ def asubmit(aparam):
67
  lin = LinearRegression()
68
  lin.fit(adf3[['Date']].astype('float').astype('int32'), adf3['Celsius'])
69
 
70
- atrendproject = [20230223,20240223,20250223,]
71
- st.dataframe(pd.merge(pd.DataFrame([atrendproject]), pd.DataFrame(lin.predict(np.array(atrendproject))), left_index=True, right_index=True))
72
 
73
  adf = pd.DataFrame(
74
  astations,
 
1
+ #1:54 AM 2/24/2023
2
 
3
 
4
  import streamlit as st
 
68
  lin = LinearRegression()
69
  lin.fit(adf3[['Date']].astype('float').astype('int32'), adf3['Celsius'])
70
 
71
+ atrendproject = [20240223,]
72
+ st.dataframe(pd.merge(pd.DataFrame([atrendproject]), pd.DataFrame(lin.predict(np.array([atrendproject]))), left_index=True, right_index=True))
73
 
74
  adf = pd.DataFrame(
75
  astations,