James McCool
commited on
Commit
·
5e87cc3
1
Parent(s):
2cd1df4
Remove display of combined dataframe entries for 'Backtesting_upload' in app.py to streamline data presentation and improve user experience.
Browse files
app.py
CHANGED
|
@@ -214,7 +214,6 @@ with tab1:
|
|
| 214 |
st.dataframe(st.session_state['portfolio_df'].head(25))
|
| 215 |
combined_df = pd.concat([st.session_state['Contest'], st.session_state['portfolio_df']], ignore_index=True)
|
| 216 |
combined_df = combined_df.reset_index(drop=True)
|
| 217 |
-
st.dataframe(combined_df[combined_df['BaseName'] == 'Backtesting_upload'].head(25))
|
| 218 |
st.session_state['entry_list'].append('Backtesting_upload')
|
| 219 |
st.session_state['Contest'] = combined_df
|
| 220 |
else:
|
|
|
|
| 214 |
st.dataframe(st.session_state['portfolio_df'].head(25))
|
| 215 |
combined_df = pd.concat([st.session_state['Contest'], st.session_state['portfolio_df']], ignore_index=True)
|
| 216 |
combined_df = combined_df.reset_index(drop=True)
|
|
|
|
| 217 |
st.session_state['entry_list'].append('Backtesting_upload')
|
| 218 |
st.session_state['Contest'] = combined_df
|
| 219 |
else:
|