MLB_DFS_ROO / app.py

Commit History

Implement "Clear All Selections" button in Handbuilder tab of app.py to reset player selections, enhancing user interactivity. Update session state management to preserve user selections across reruns, improving overall functionality.
d7f15e0

James McCool commited on

Enhance Handbuilder tab in app.py by increasing the height of the player selection display for better visibility and adding a "Clear Data" button to reset player selections, improving user experience and interactivity.
e9c95d8

James McCool commited on

Update player selection display in Handbuilder tab of app.py to remove unnecessary columns from the DataFrame, enhancing clarity and maintaining the overall functionality of the lineup presentation.
38618a0

James McCool commited on

Refactor selected players DataFrame in Handbuilder tab of app.py to simplify the structure by removing unnecessary columns, enhancing clarity in player selection display.
90c3e80

James McCool commited on

Refactor lineup display in Handbuilder tab of app.py to use a separate DataFrame for selected players, enhancing clarity and maintaining functionality in the user interface.
27a8dc0

James McCool commited on

Update player selection DataFrame in Handbuilder tab of app.py to include 'Order' and 'Hand' columns, and adjust lineup display settings for improved user experience and clarity.
cc2af39

James McCool commited on

Refactor player selection logic in Handbuilder tab of app.py to streamline DataFrame handling and improve user experience by ensuring fresh data on each rerun, while maintaining lineup display functionality.
6362b12

James McCool commited on

Refactor player selection handling in Handbuilder tab of app.py to improve session state management and enhance user experience by separating lineup display and player selection editor.
cd79eb2

James McCool commited on

Add Handbuilder tab in app.py to allow user selection of players for lineup creation, enhancing user interactivity and lineup management capabilities.
87b7422

James McCool commited on

ping
07a4d86

James McCool commited on

Add Pitcher_Info integration in app.py to enhance player data processing by including LHH and RHH attributes, improving data analysis capabilities for hitters.
185a85c

James McCool commited on

Enhance player ROO DataFrame styling in app.py by expanding the background gradient subset to include 'Small Field Own%', 'Large Field Own%', and 'Cash Own%' for improved visual representation and clarity.
939415c

James McCool commited on

Refactor background gradient styling in app.py for scoring percentages and player ROO DataFrames to enhance visual clarity by including 'Salary' and 'Own%' in the gradient subset.
40ab0f4

James McCool commited on

Update scoring percentages DataFrame in app.py to include 'Order' in the background gradient styling for improved visual clarity and data representation.
2392e35

James McCool commited on

Update 'Order' and 'Hand' column handling in app.py to replace NaN with 0 for 'Order' and default 'Hand' to 'Pitcher' for improved data consistency and clarity in player data processing for hitters.
90d5e18

James McCool commited on

Update 'Order' column handling in app.py to replace empty strings with NaN for improved data integrity, and ensure proper type conversion for consistency in player data processing.
05e02d5

James McCool commited on

Update 'Order' column type to integer and add 'Runs/$' calculation in scoring percentages DataFrame in app.py for improved data accuracy and analysis capabilities.
899c130

James McCool commited on

Refactor data handling in app.py to create a separate hold_frame for 'Order' and 'Hand' attributes, improving clarity and organization in player data processing for hitters.
e840845

James McCool commited on

Refactor Hitter_Info integration in app.py to separate LHP and RHP data, ensuring accurate mapping of 'Order' and 'Hand' attributes for hitters, enhancing data processing and analysis capabilities.
96aabe9

James McCool commited on

Add Hitter_Info integration in app.py to enhance player data processing by including 'Order' and 'Hand' attributes for hitters, improving data analysis capabilities.
b2e59e8

James McCool commited on

Update scoring percentages DataFrame in app.py to include 'Opp_SP' for improved data analysis and clarity in player performance metrics.
dd4eb4f

James McCool commited on

Update Stack Priority options in app.py to use 'OF_Prio' and 'IF_Prio' for improved clarity in user selections, enhancing the data filtering experience.
d011b1f

James McCool commited on

Fix the order of options in Stack Priority isolation radio button in app.py to improve user experience and clarity in data filtering.
4d5a500

James McCool commited on

Add Stack Priority filtering option in app.py to enhance user control over scoring percentages display. Users can now isolate data based on specific Stack Priority selections, improving data analysis capabilities.
aa508ab

James McCool commited on

Remove 'Avg_Salary' from the background gradient in scoring percentages display in app.py, streamlining the visual presentation for the Simple view while maintaining clarity for the Advanced view.
741d267

James McCool commited on

Enhance scoring percentages display in app.py by adding a second background gradient for 'Avg_Salary' and 'Own%' columns, improving visual differentiation and data clarity in both Simple and Advanced views.
f7c0bfd

James McCool commited on

Update column names in scoring percentages DataFrame in app.py to include 'Avg_Salary' and 'Stack_Prio', enhancing data clarity and consistency in player information presentation.
1fa49a9

James McCool commited on

Reorder columns in player display within app.py to enhance data presentation, improving readability and consistency in the displayed player information.
de89206

James McCool commited on

Standardize column names in app.py from 'Site' and 'Slate' to 'site' and 'slate' for consistency in player data filtering, improving code readability and maintainability.
b16a86d

James McCool commited on

Add slate-specific filtering in app.py to refine player data based on selected slate type (Main, Secondary, Auxiliary), improving lineup generation accuracy.
f5130d3

James McCool commited on

Fix salary column reference in app.py to ensure accurate filtering of data export display based on minimum and maximum salary values, enhancing data integrity for lineup generation.
6c19bf2

James McCool commited on

Refactor app.py to enhance user input handling for slate types and player selection, improving layout with columns and ensuring accurate lineup generation based on selected parameters.
fb0e7f5

James McCool commited on

Refactor app.py to consistently set index for scoring percentages and player ROO displays, enhancing data presentation and ensuring uniformity across different view types.
252a303

James McCool commited on

Refactor app.py to set index for scoring percentages and player ROO displays, improving data presentation and consistency across views.
b8e8bdb

James McCool commited on

Refactor scoring percentage calculations in app.py to drop unnecessary columns for DraftKings and FanDuel, enhancing data clarity and consistency across slate types.
a0c9fd6

James McCool commited on

Refactor scoring percentage calculations in app.py to consistently drop unnecessary columns for all slate types in DraftKings and FanDuel, improving data clarity and reducing redundancy.
1244250

James McCool commited on

Remove unnecessary column drops for DraftKings and FanDuel in app.py, streamlining scoring percentage calculations and improving data clarity.
32cbf1d

James McCool commited on

Update app.py to handle empty values in scoring percentages for all slate types in DraftKings and FanDuel, ensuring accurate data representation and improving overall data integrity.
39ad0c4

James McCool commited on

Enhance scoring percentage calculations in app.py by implementing slate-specific logic for DraftKings and FanDuel, ensuring accurate ranking and representation of top scores across different slate types.
6c8b87b

James McCool commited on

Refactor game format keys in app.py to simplify naming conventions for scoring percentages, enhancing clarity and consistency in data representation.
b23fb9c

James McCool commited on

Update scoring percentage columns in app.py to include specific slate types for DraftKings and FanDuel, ensuring accurate data representation and enhancing user experience.
3c53f01

James McCool commited on

Refactor scoring percentage calculations in app.py to differentiate between DraftKings and FanDuel slate types, updating column names and improving data filtering logic for enhanced accuracy and user experience.
6f594e5

James McCool commited on

Update app.py to include additional slate options ('Secondary Slate' and 'Turbo Slate') in the data loading selection, improving user flexibility and enhancing the overall experience.
9c7ad76

James McCool commited on

Update scoring percentages and filtering logic in app.py to accommodate multiple slate types for DraftKings and FanDuel, enhancing data accuracy and user experience.
e27c475

James McCool commited on

Update player column selection in app.py to adjust indices for 'Showdown' slate types in DraftKings and FanDuel, ensuring accurate data representation and improving user experience.
f746fee

James McCool commited on

Refactor database connection in app.py to remove unused database reference and streamline data retrieval for DraftKings and FanDuel lineups, enhancing code clarity and maintainability.
54f0cae

James McCool commited on

Refactor player column selection in app.py to dynamically adjust based on slate type for DraftKings and FanDuel, ensuring accurate data representation and enhancing user experience.
ca50776

James McCool commited on

Refactor ownership value calculations in app.py to use updated column indices for DraftKings and FanDuel, and enhance summary statistics display based on slate type, improving data accuracy and user experience.
7f643e6

James McCool commited on

Update app.py to include new column mappings for DraftKings and FanDuel showdown formats, enhancing data display and ensuring accurate representation of team and player metrics in lineups.
70cfb96

James McCool commited on

Enhance team ownership calculations in app.py by filtering for 'main_slate' in DraftKings and FanDuel data, updating ownership metrics, and refining scoring percentages with new calculations for 'DK LevX' and 'FD LevX'.
44fbcd2

James McCool commited on