James McCool
commited on
Commit
·
cda266d
1
Parent(s):
7852820
Remove unnecessary columns from lineups DataFrame in load_dk_fd_file.py: drop 'Entry ID', 'Contest Name', 'Contest ID', and 'Entry Fee' to streamline data processing and enhance analysis efficiency.
Browse files
global_func/load_dk_fd_file.py
CHANGED
@@ -20,7 +20,8 @@ def load_dk_fd_file(lineups, csv_file):
|
|
20 |
else:
|
21 |
st.error('Please upload either a CSV or Excel file for lineups')
|
22 |
return None, None
|
23 |
-
|
|
|
24 |
export_df = lineups_df.copy()
|
25 |
|
26 |
# Map the IDs to names
|
|
|
20 |
else:
|
21 |
st.error('Please upload either a CSV or Excel file for lineups')
|
22 |
return None, None
|
23 |
+
|
24 |
+
lineups_df = lineups_df.drop(columns=['Entry ID', 'Contest Name', 'Contest ID', 'Entry Fee'])
|
25 |
export_df = lineups_df.copy()
|
26 |
|
27 |
# Map the IDs to names
|