Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,13 +20,14 @@ mylist = [0, 1, 5, 7, 8, 10, 11]
|
|
20 |
mylist = [2]
|
21 |
df = pd.DataFrame(columns=["Date Time","p (mbar)","T (degC)","Tpot (K)","Tdew (degC)","rh (%)","VPmax (mbar)","VPact (mbar)","VPdef (mbar)","sh (g/kg)","H2OC (mmol/mol)","rho (g/m**3)","wv (m/s)","max. wv (m/s)","wd (deg)"])
|
22 |
|
23 |
-
if ("0"
|
24 |
uri = "https://storage.googleapis.com/tensorflow/tf-keras-datasets/jena_climate_2009_2016.csv.zip"
|
25 |
zip_path = keras.utils.get_file(origin=uri, fname="jena_climate_2009_2016.csv.zip")
|
26 |
zip_file = ZipFile(zip_path)
|
27 |
zip_file.extractall()
|
28 |
csv_path = "jena_climate_2009_2016.csv"
|
29 |
df = pd.read_csv(csv_path)
|
|
|
30 |
|
31 |
if ("0" != ""):
|
32 |
backlogmax = 4
|
@@ -51,6 +52,10 @@ if ("0" != ""):
|
|
51 |
adf = adf.append({"Date Time":adate,"T (degC)":(row[4]),}, ignore_index=True)
|
52 |
break
|
53 |
df = adf
|
|
|
|
|
|
|
|
|
54 |
|
55 |
#%%
|
56 |
|
|
|
20 |
mylist = [2]
|
21 |
df = pd.DataFrame(columns=["Date Time","p (mbar)","T (degC)","Tpot (K)","Tdew (degC)","rh (%)","VPmax (mbar)","VPact (mbar)","VPdef (mbar)","sh (g/kg)","H2OC (mmol/mol)","rho (g/m**3)","wv (m/s)","max. wv (m/s)","wd (deg)"])
|
22 |
|
23 |
+
if ("0" != ""):
|
24 |
uri = "https://storage.googleapis.com/tensorflow/tf-keras-datasets/jena_climate_2009_2016.csv.zip"
|
25 |
zip_path = keras.utils.get_file(origin=uri, fname="jena_climate_2009_2016.csv.zip")
|
26 |
zip_file = ZipFile(zip_path)
|
27 |
zip_file.extractall()
|
28 |
csv_path = "jena_climate_2009_2016.csv"
|
29 |
df = pd.read_csv(csv_path)
|
30 |
+
st.dataframe(df)
|
31 |
|
32 |
if ("0" != ""):
|
33 |
backlogmax = 4
|
|
|
52 |
adf = adf.append({"Date Time":adate,"T (degC)":(row[4]),}, ignore_index=True)
|
53 |
break
|
54 |
df = adf
|
55 |
+
st.dataframe(df)
|
56 |
+
|
57 |
+
exit()
|
58 |
+
|
59 |
|
60 |
#%%
|
61 |
|