James McCool
commited on
Commit
·
7503d51
1
Parent(s):
d96db4f
Add Streamlit table display for general exposures in create_general_exposures function
Browse files- Introduced a Streamlit table output to display the general exposures dataframe after calculations, enhancing data visibility for users.
- Maintained existing functionality while improving the presentation of statistical data in the application.
global_func/create_general_exposures.py
CHANGED
@@ -35,5 +35,6 @@ def create_general_exposures(df: pd.DataFrame, entrants: list = None):
|
|
35 |
else:
|
36 |
general_exposures = pd.merge(general_exposures, general_frame, on='Stat', how='outer')
|
37 |
general_count_var += 1
|
|
|
38 |
|
39 |
return general_exposures
|
|
|
35 |
else:
|
36 |
general_exposures = pd.merge(general_exposures, general_frame, on='Stat', how='outer')
|
37 |
general_count_var += 1
|
38 |
+
st.table(general_exposures)
|
39 |
|
40 |
return general_exposures
|