Enhance database loading logic for NBA and NFL projections
c982556
James McCoolcommited on
ping
8566545
James McCoolcommited on
introducing NBA functions
08ef694
James McCoolcommited on
Adding sport specific salary grabs
0839608
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
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
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
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
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.
46bf4d1
James McCoolcommited on
Refactor portfolio loading status management to use session state. This change ensures consistent tracking of the portfolio loading status across different upload sources, enhancing the overall data loading functionality.
46c890f
James McCoolcommited on
portfolio bool
3cdab9b
James McCoolcommited on
Enhance data loading functionality by introducing a flag to track portfolio loading status. This allows for better handling of session state when loading from Paydirt DB, ensuring the portfolio is correctly managed in the session.
d80e5ce
James McCoolcommited on
I think this should work
c880551
James McCoolcommited on
Add print statements to display the first 10 rows of portfolio DataFrames for both Draftkings and Fanduel lineups during data load.
8f50be4
James McCoolcommited on
coinvert to df first, then csv
00737ec
James McCoolcommited on
checking more
fc0fbd1
James McCoolcommited on
checking
4c7f0de
James McCoolcommited on
Adding button
d57c3c2
James McCoolcommited on
Adding some database support
d323d4b
James McCoolcommited on
Update salary input fields in Manage Portfolio section to allow for a wider range of values, enhancing user flexibility in setting exposure parameters.
42075ca
James McCoolcommited on
Update excluded_cols list in app.py to include 'SE Score' for improved data handling in portfolio management.