James McCool
commited on
Commit
·
955ef0e
1
Parent(s):
eb256a2
Replace print statements with st.table in load_contest_file.py for improved data presentation
Browse files- Updated the load_contest_file function to utilize st.table for displaying entry_list, cleaned_df, ownership_df, fpts_df, salary_df, team_df, pos_df, and check_lineups, enhancing the user interface for data visibility.
- Maintained existing functionality while improving the clarity and presentation of contest data during processing.
global_func/load_contest_file.py
CHANGED
|
@@ -139,14 +139,14 @@ def load_contest_file(upload, helper_var, helper = None, sport = None):
|
|
| 139 |
entry_list = list(set(df['BaseName']))
|
| 140 |
entry_list.sort()
|
| 141 |
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
|
| 151 |
if helper_var == 1:
|
| 152 |
return cleaned_df, ownership_df, fpts_df, salary_df, team_df, pos_df, entry_list, check_lineups
|
|
|
|
| 139 |
entry_list = list(set(df['BaseName']))
|
| 140 |
entry_list.sort()
|
| 141 |
|
| 142 |
+
st.table(entry_list)
|
| 143 |
+
st.table(cleaned_df)
|
| 144 |
+
st.table(ownership_df)
|
| 145 |
+
st.table(fpts_df)
|
| 146 |
+
st.table(salary_df)
|
| 147 |
+
st.table(team_df)
|
| 148 |
+
st.table(pos_df)
|
| 149 |
+
st.table(check_lineups)
|
| 150 |
|
| 151 |
if helper_var == 1:
|
| 152 |
return cleaned_df, ownership_df, fpts_df, salary_df, team_df, pos_df, entry_list, check_lineups
|