Enhance database loading logic for NBA and NFL projections
c982556
James McCoolcommited on
ping
8566545
James McCoolcommited on
correcting database pull
f71b29d
James McCoolcommited on
database query oopsies
6a00be6
James McCoolcommited on
introducing NBA functions
08ef694
James McCoolcommited on
Added sport specific databases
ef81816
James McCoolcommited on
Adding sport specific salary grabs
0839608
James McCoolcommited on
almost ready
5b70f05
James McCoolcommited on
fixing load_csv
a202d46
James McCoolcommited on
fixed csv_file deletion
4088871
James McCoolcommited on
Refactor CSV file loading logic in Data Load tab
bc09bf7
James McCoolcommited on
Update CSV file handling in Data Load tab
638ac79
James McCoolcommited on
ping
202305b
James McCoolcommited on
Add debug print statement to load_file function
c443fd6
James McCoolcommited on
updating load_csv to handle dataframes
1c84812
James McCoolcommited on
ping
3720273
James McCoolcommited on
Enhance pricing source handling in Data Load tab
f939d56
James McCoolcommited on
Refactor CSV upload and template generation in Data Load tab
15e1050
James McCoolcommited on
str not int
24cf609
James McCoolcommited on
Fixing Contest Date
a08d9b4
James McCoolcommited on
fixing print
7bd9b86
James McCoolcommited on
printing some more things
1c69b06
James McCoolcommited on
addressing lookup for slate name
38a9837
James McCoolcommited on
printing
94a16d5
James McCoolcommited on
ping
f59a7f1
James McCoolcommited on
moving the slate designation out of the database_queries
9b97a5a
James McCoolcommited on
Update init_nfl_baselines function to handle slate variable mapping
c08b1bb
James McCoolcommited on
Update lineup loading functions to use user-defined slate variable in Data Load tab
f0f14d1
James McCoolcommited on
Add user-configurable options for lineup generation in Data Load tab
525cd79
James McCoolcommited on
Update projections loading condition in Data Load tab
e2fd337
James McCoolcommited on
Refine projections file upload interface in Data Load tab
17f571b
James McCoolcommited on
Enhance projections loading logic in Data Load tab
8866c0e
James McCoolcommited on
right, dictionary of things
1c30ca9
James McCoolcommited on
ah yeah
649f608
James McCoolcommited on
Add button for loading projections from database in Data Load tab
14840d6
James McCoolcommited on
Enhance projections file upload functionality by adding a selection option for sourcing projections from either 'User Upload' or 'Paydirt DB'. Update init_nfl_baselines function to accept additional parameters for site and slate, and filter projections based on these parameters, improving data handling and user experience.
b44c733
James McCoolcommited on
Update portfolio loading logic to ensure 'portfolio_loaded' state is only set to False when no portfolio file is present in session state. This change enhances the clarity of the loading process and maintains data integrity during uploads.
4fdebbd
James McCoolcommited on
ping
2e2d30e
James McCoolcommited on
Remove redundant database check for clearing session state objects, ensuring that portfolio and export portfolio are always deleted to optimize memory management.
6d724c8
James McCoolcommited on
Refactor portfolio loading logic to remove redundant checks and optimize memory management. The code now clears session state objects only when not sourced from the database, ensuring necessary data persistence while improving overall efficiency.
1b35a81
James McCoolcommited on
Sure
2b8ea88
James McCoolcommited on
ping
44c87c6
James McCoolcommited on
Enhance load_file function to ensure proper handling of unnamed columns by checking if the column name is a string before dropping. This improves data integrity during file uploads.
b8a722a
James McCoolcommited on
Enhance load_file function to check if the upload is already a DataFrame, improving handling of file uploads. This change simplifies the logic for processing uploaded data and ensures compatibility with existing DataFrame objects.
8781f64
James McCoolcommited on
Refactor portfolio file loading to streamline assignment of DataFrames. The load_file function now returns both export and portfolio DataFrames in a single call, improving code clarity and efficiency.
e887235
James McCoolcommited on
added some database persistence
9e77e56
James McCoolcommited on
Improve portfolio data handling by adding dropna and reset_index methods to clean and standardize DataFrames after loading. This ensures that empty rows are removed and indices are reset for both export and portfolio DataFrames.