James McCool
commited on
Commit
·
764a992
1
Parent(s):
98de8e5
Add debug print statements in load_contest_file.py for enhanced data visibility
Browse files- Introduced print statements to display entry_list, cleaned_df, ownership_df, fpts_df, salary_df, team_df, pos_df, and check_lineups, improving the debugging process during contest file loading.
- Maintained existing functionality while enhancing the visibility of data structures for better analysis and troubleshooting.
global_func/load_contest_file.py
CHANGED
@@ -135,6 +135,15 @@ def load_contest_file(upload, helper_var, helper = None, sport = None):
|
|
135 |
# Get unique entry names
|
136 |
entry_list = list(set(df['BaseName']))
|
137 |
entry_list.sort()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
|
139 |
if helper_var == 1:
|
140 |
return cleaned_df, ownership_df, fpts_df, salary_df, team_df, pos_df, entry_list, check_lineups
|
|
|
135 |
# Get unique entry names
|
136 |
entry_list = list(set(df['BaseName']))
|
137 |
entry_list.sort()
|
138 |
+
|
139 |
+
print(entry_list)
|
140 |
+
print(cleaned_df)
|
141 |
+
print(ownership_df)
|
142 |
+
print(fpts_df)
|
143 |
+
print(salary_df)
|
144 |
+
print(team_df)
|
145 |
+
print(pos_df)
|
146 |
+
print(check_lineups)
|
147 |
|
148 |
if helper_var == 1:
|
149 |
return cleaned_df, ownership_df, fpts_df, salary_df, team_df, pos_df, entry_list, check_lineups
|