James McCool
commited on
Commit
·
0d1ebff
1
Parent(s):
c704daa
Add display of combined dataframe for backtesting uploads in app.py
Browse files- Introduced a new dataframe display for entries labeled 'Backtesting_upload' to enhance visibility of relevant data after portfolio and contest concatenation. This improves user experience by providing immediate access to specific upload results.
app.py
CHANGED
|
@@ -214,6 +214,7 @@ with tab1:
|
|
| 214 |
st.dataframe(st.session_state['portfolio_df'].head(25))
|
| 215 |
st.session_state['combined_df'] = pd.concat([st.session_state['Contest'], st.session_state['portfolio_df']], ignore_index=True)
|
| 216 |
st.session_state['combined_df'] = st.session_state['combined_df'].reset_index(drop=True)
|
|
|
|
| 217 |
st.session_state['entry_list'].append('Backtesting_upload')
|
| 218 |
else:
|
| 219 |
pass
|
|
|
|
| 214 |
st.dataframe(st.session_state['portfolio_df'].head(25))
|
| 215 |
st.session_state['combined_df'] = pd.concat([st.session_state['Contest'], st.session_state['portfolio_df']], ignore_index=True)
|
| 216 |
st.session_state['combined_df'] = st.session_state['combined_df'].reset_index(drop=True)
|
| 217 |
+
st.dataframe(st.session_state['combined_df'][st.session_state['combined_df']['BaseName'] == 'Backtesting_upload'].head(25))
|
| 218 |
st.session_state['entry_list'].append('Backtesting_upload')
|
| 219 |
else:
|
| 220 |
pass
|