NBA_DFS_ROO / app.py

Commit History

Update player ID processing in app.py: modify Fanduel data frame to split player IDs at the last hyphen, ensuring accurate mapping and enhancing data integrity during export.
9128800
Running

James McCool commited on

Refine player ID processing in app.py: update Fanduel data frame to split player IDs at the last hyphen, ensuring accurate mapping and improving data integrity during export.
25af322

James McCool commited on

Refine player ID processing in app.py: update Fanduel data frame to remove the last four characters from player IDs, ensuring accurate mapping and improving data integrity during export.
16cee53

James McCool commited on

Update player ID mapping in app.py: modify Fanduel data frame to remove '-mvp' suffix from player IDs and ensure accurate mapping for Showdown slate types, enhancing data integrity during export.
93bcf76

James McCool commited on

Enhance overall stats retrieval in app.py: add separate data frames for Draftkings and Fanduel to improve player ID mapping and streamline data handling during lineup processing.
e559e56

James McCool commited on

Refine lineup data retrieval in app.py: update database queries to filter teams with less than 6 players for both Draftkings and Fanduel, enhancing data accuracy and lineup generation.
1086fd6

James McCool commited on

Enhance data export functionality in app.py: add separate download buttons for optimal lineups by player names and IDs, improving user experience and data accessibility.
29e7d2d

James McCool commited on

Update data export column handling in app.py: increase the number of columns processed for Showdown slate types in both Draftkings and Fanduel, ensuring accurate player ID mapping and enhancing data export functionality.
16a2718

James McCool commited on

Implement conditional data export logic in app.py: enhance the data export functionality by incorporating slate type (Regular or Showdown) for both Draftkings and Fanduel, ensuring accurate player ID mapping and improving data handling during export.
38762a9

James McCool commited on

Remove 'working_seed' from session state in app.py: implement logic to delete 'working_seed' when switching between sites, ensuring accurate data handling and preventing stale data issues during lineup processing.
735eb51

James McCool commited on

Refactor working seed initialization in app.py: update logic for setting working seed based on slate type (Regular or Showdown) for both Draftkings and Fanduel, ensuring accurate lineup data handling and improving code clarity.
0ed806a

James McCool commited on

Enhance summary statistics generation in app.py: implement conditional logic for slate type (Regular or Showdown) to accurately compute metrics for Draftkings and Fanduel, improving data representation and user experience.
fc8cc73

James McCool commited on

Refactor lineup initialization in app.py: remove try-except blocks for lineup creation, ensuring consistent DataFrame initialization for both Draftkings and Fanduel across Regular and Showdown slate types, enhancing code clarity and reliability.
72c894a

James McCool commited on

Update salary input fields in app.py: adjust minimum salary values for both lowest and highest salary inputs to enhance user experience and ensure valid input range.
095a174

James McCool commited on

Update slate selection logic in app.py: enhance raw baseline retrieval by incorporating slate type (Regular or Showdown) for both Main and Secondary slates, improving data accuracy based on user input.
851917a

James McCool commited on

Add debug output in load_overall_stats function of app.py: print top 10 sorted player statistics for improved visibility during data processing.
621bd03

James McCool commited on

Enhance app.py: add support for selecting slate type (Regular or Showdown) in the UI, update site selection logic to accommodate new slate types, and adjust column layout for improved user experience.
f799298

James McCool commited on

Fix player ID column naming in load_overall_stats function of app.py: update column name from 'player_ID' to 'player_id' for consistency and rename it back to 'player_ID' for display purposes.
4d8dc24

James McCool commited on

Enhance app.py: add support for secondary slate data retrieval and processing, update overall stats function to include new data, and improve data export functionality for both Draftkings and Fanduel
b5abcc5

James McCool commited on

Refactor app.py: streamline connection initialization by removing unused Google Sheets credentials and enhance lineup functions to support multiple slate designations for improved flexibility
2675c26

James McCool commited on

Refactor load_overall_stats function in app.py: remove backlog data retrieval and associated UI elements to streamline data handling and improve performance
ef6c0f1

James McCool commited on

Update display_proj assignment in tab1: set index to "Player" with drop option for improved data handling
f47294a

James McCool commited on

Refine "Player" column configuration in tab1: set fixed width properties to enhance layout consistency and maintain sticky header functionality
94d3b9d

James McCool commited on

Enhance dataframe display in tab1: add column configuration for "Player" to improve readability and maintain sticky header functionality
e5ce320

James McCool commited on

Update tab styling: change background colors for active and hover states to enhance UI consistency
3dbcf03

James McCool commited on

Update display_proj handling in tab1: comment out index setting and add hide_index option to dataframe display
83d45be

James McCool commited on

Reorganize tab2 data loading and expander layout
dc913ed

James McCool commited on

Refactor tab1 display options layout and improve UI organization
20f53c3

James McCool commited on

Minor UI refinement: Rename "Display Options" to "Data Options" expander
3d97c49

James McCool commited on

Refactor tab2 layout with expanded display options and improved data management
66b0ac2

James McCool commited on

Enhance tab styling and move display options into an expander
96799c9

James McCool commited on

Add salary range filter to projection display
3f36e0d

James McCool commited on

Fine-tune dataframe styling in simple view projection display
293c9b3

James McCool commited on

Adjust font size in simple view projection display
1694faf

James McCool commited on

Improve simple view display with font size adjustment
822a6cd

James McCool commited on

Remove Team column from simple view projection display
5b00850

James McCool commited on

Reorganize tab1 layout and improve site/slate selection logic
2930962

James McCool commited on

Refactor tab1 layout and improve user interface for ROO projection view
ac9b445

James McCool commited on

Update ROO percentage formatting to use percentage sign
9990caa

James McCool commited on

Add custom formatting for ROO percentage columns in player projection display
5ae652c

James McCool commited on

Refactor player frequency tables to include salary and improve formatting
855228a

James McCool commited on

Add player salary to simple view summary DataFrame
3d72ea9

James McCool commited on

Update simple view to display player ownership instead of value multiplier
f646011

James McCool commited on

Modify view options and remove debug print statements in lineup initialization
3ddd3e4

James McCool commited on

Enhance DK and FD lineup initialization by mapping player names from database collections. Added functionality to convert player identifiers to names for improved display in lineups.
a67075a

James McCool commited on

export file now uses player IDs
fbd699f

James McCool commited on

I'm not actually sure if this works
c1762a4

James McCool commited on

added export ids to display portfolio
bb691ba

James McCool commited on

more numpy rewrite
695636a

James McCool commited on

working seed is a numpy array, had to rewrite that
fca2dc4

James McCool commited on