Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import pandas as pd
|
| 3 |
import numpy as np
|
|
@@ -53,10 +54,9 @@ def asubmit(aparam):
|
|
| 53 |
continue
|
| 54 |
|
| 55 |
adate = ("{:02d}.{:02d}.{}").format(row[3], row[2], row[1])
|
| 56 |
-
csvString += '\n'+(",").join([adate,str(row[4])
|
| 57 |
st.write(row[0],adate)
|
| 58 |
-
|
| 59 |
-
pd.concat(adf3,[adate,row[4]])
|
| 60 |
break
|
| 61 |
adf3 = pd.read_csv(StringIO(csvString), sep=",")
|
| 62 |
aparam["acontainer"].dataframe(adf3)
|
|
|
|
| 1 |
+
|
| 2 |
import streamlit as st
|
| 3 |
import pandas as pd
|
| 4 |
import numpy as np
|
|
|
|
| 54 |
continue
|
| 55 |
|
| 56 |
adate = ("{:02d}.{:02d}.{}").format(row[3], row[2], row[1])
|
| 57 |
+
csvString += '\n'+(",").join([adate,str(row[4])])
|
| 58 |
st.write(row[0],adate)
|
| 59 |
+
adf3 = adf3.append({"Date":adate,"Celsius":(row[4]),}, ignore_index=True)
|
|
|
|
| 60 |
break
|
| 61 |
adf3 = pd.read_csv(StringIO(csvString), sep=",")
|
| 62 |
aparam["acontainer"].dataframe(adf3)
|