Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ for i in range(ayear-backlogmax,ayear,1):
|
|
22 |
df = pd.read_csv(alink, skiprows=[0,1,2], skipfooter=3, engine='python', on_bad_lines='skip')
|
23 |
st.write(i)
|
24 |
|
25 |
-
nparray = np.array(
|
26 |
df = df.reset_index() # make sure indexes pair with number of rows
|
27 |
for index, row in df.iterrows():
|
28 |
if (row[2]!=amonth) or (row[3]!=amonthday):
|
@@ -33,4 +33,4 @@ for i in range(ayear-backlogmax,ayear,1):
|
|
33 |
np.append(nparray,[[adate,"",row[4],"","","","","","","","","","","",""]],axis=0)
|
34 |
break
|
35 |
adf = pd.concat([adf, pd.DataFrame(nparray)], axis=0)
|
36 |
-
st.dataframe(adf)
|
|
|
22 |
df = pd.read_csv(alink, skiprows=[0,1,2], skipfooter=3, engine='python', on_bad_lines='skip')
|
23 |
st.write(i)
|
24 |
|
25 |
+
nparray = np.array()
|
26 |
df = df.reset_index() # make sure indexes pair with number of rows
|
27 |
for index, row in df.iterrows():
|
28 |
if (row[2]!=amonth) or (row[3]!=amonthday):
|
|
|
33 |
np.append(nparray,[[adate,"",row[4],"","","","","","","","","","","",""]],axis=0)
|
34 |
break
|
35 |
adf = pd.concat([adf, pd.DataFrame(nparray)], axis=0)
|
36 |
+
st.dataframe(adf)
|