Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,11 +9,11 @@ if xl1 is not None and xl2 is not None:
|
|
9 |
df1 = pd.read_excel(xl1, sheet_name= "0.85 Threshold")
|
10 |
df2 = pd.read_excel(xl2, sheet_name= "0.85 Threshold")
|
11 |
st.write(df1[["Attendee A","Attendee B","KP"]])
|
12 |
-
|
13 |
st.write("The files' attendees and KPs don't match!")
|
14 |
xl1 = None
|
15 |
xl2 = None
|
16 |
else:
|
17 |
for r1,r2 in zip(df1,df2):
|
18 |
st.write(r1)
|
19 |
-
st.write(r2)
|
|
|
9 |
df1 = pd.read_excel(xl1, sheet_name= "0.85 Threshold")
|
10 |
df2 = pd.read_excel(xl2, sheet_name= "0.85 Threshold")
|
11 |
st.write(df1[["Attendee A","Attendee B","KP"]])
|
12 |
+
if not df1[["Attendee A","Attendee B","KP"]].equals(df2[["Attendee A","Attendee B","KP"]]):
|
13 |
st.write("The files' attendees and KPs don't match!")
|
14 |
xl1 = None
|
15 |
xl2 = None
|
16 |
else:
|
17 |
for r1,r2 in zip(df1,df2):
|
18 |
st.write(r1)
|
19 |
+
st.write(r2)
|