Spaces:
Running
Running
James McCool
commited on
Commit
·
04606ac
1
Parent(s):
1b7e492
Refactor data export preparation to use correct indexing for DataFrame columns
Browse files
app.py
CHANGED
@@ -242,7 +242,7 @@ with tab2:
|
|
242 |
|
243 |
if st.button("Prepare data export", key='data_export'):
|
244 |
data_export = st.session_state.working_seed.copy()
|
245 |
-
for col in data_export
|
246 |
data_export[col] = data_export[col].map(dk_id_dict)
|
247 |
st.download_button(
|
248 |
label="Export optimals set",
|
|
|
242 |
|
243 |
if st.button("Prepare data export", key='data_export'):
|
244 |
data_export = st.session_state.working_seed.copy()
|
245 |
+
for col in data_export[:, 0:9]:
|
246 |
data_export[col] = data_export[col].map(dk_id_dict)
|
247 |
st.download_button(
|
248 |
label="Export optimals set",
|