Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -168,9 +168,9 @@ with tab1:
|
|
| 168 |
group += [0] * (31 - len(group))
|
| 169 |
groups.append(group + [sum(group)])
|
| 170 |
|
| 171 |
-
|
| 172 |
-
st.dataframe(
|
| 173 |
-
st.download_button("Download as CSV",
|
| 174 |
|
| 175 |
# Additional table with ascending mutation site headers (3244 to 4455)
|
| 176 |
ascending_headers = sorted([h for h in mutation_site_headers if h <= 4455])
|
|
|
|
| 168 |
group += [0] * (31 - len(group))
|
| 169 |
groups.append(group + [sum(group)])
|
| 170 |
|
| 171 |
+
df = pd.DataFrame(groups, columns=[str(h) for h in mutation_site_headers] + ["Edited Sites"])
|
| 172 |
+
st.dataframe(df)
|
| 173 |
+
st.download_button("Download as CSV", df.to_csv(index=False), "text_32_binary_labels.csv")
|
| 174 |
|
| 175 |
# Additional table with ascending mutation site headers (3244 to 4455)
|
| 176 |
ascending_headers = sorted([h for h in mutation_site_headers if h <= 4455])
|