Update position filtering in create_position_export_dict to include 'C/1B' and modify sport headers for WNBA and MLB across load functions, enhancing player data handling for CSV exports.
bfa4569
James McCoolcommited on
Enhance player data handling by updating load functions in load_dk_fd_file, load_file, and load_ss_file to incorporate sport-specific headers, improving CSV and lineup processing for various sports in app.py and global functions.
ad242a2
James McCoolcommited on
Remove NASCAR table display from app.py to streamline portfolio presentation and improve user experience. Update name mapping logic in load_dk_fd_file.py to enhance ID handling and ensure cleaner data output.
b6cd6af
James McCoolcommited on
Refactor import statements across multiple files to replace 'fuzzywuzzy' with 'rapidfuzz' for improved performance and consistency in string matching functionality. Additionally, clean up unused imports in app.py and related global functions to enhance code clarity and maintainability.
d9db89f
James McCoolcommited on
Refactor file type checks in load_file.py and load_ss_file.py: streamline file extension validation using endswith method for improved readability. Update app.py to handle salary conversion more robustly by removing unnecessary exception handling.
9d66c9c
James McCoolcommited on
Add debug print statements in load_dk_fd_file.py: include additional print statements for clean_name and lineups.name to assist in debugging and data verification during file processing.
90a4822
James McCoolcommited on
Refactor lineups file handling in load_dk_fd_file.py: clean up line name by removing numeric suffixes using regex, and streamline CSV file loading by removing UTF-8 encoding specification for improved compatibility.
ba217a9
James McCoolcommited on
Enhance CSV file loading in load_dk_fd_file.py: update the read_csv function to include UTF-8 encoding for better compatibility with file objects provided by Streamlit.
d9d478e
James McCoolcommited on
Refactor file type checks in loading functions: update conditions in load_dk_fd_file.py, load_file.py, and load_ss_file.py to use substring checks for file extensions, improving readability and maintainability. Remove debug print statements from load_dk_fd_file.py and app.py to clean up the code.
dbc3f23
James McCoolcommited on
Add debug print statements in load_dk_fd_file.py: include print statements for name_dict and lineups_df to assist in debugging and data verification during file processing.
cb4a863
James McCoolcommited on
Add debug print statements in load_dk_fd_file.py: include print statements for lineups_df and export_df to assist in debugging and data verification during file processing.
6136ed6
James McCoolcommited on
Enhance error handling in lineups DataFrame processing in load_dk_fd_file.py: add a try-except block around the column drop operation to prevent failures when attempting to remove specified columns, ensuring smoother data processing.
cee1912
James McCoolcommited on
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.
cda266d
James McCoolcommited on
Add support for DraftKings/Fanduel file uploads in app.py: implement a new upload option for processing lineups, integrating a dedicated loading function for enhanced compatibility with different data sources.