MLB_DFS_ROO / app.py

Commit History

Update Handbuilder lineup DataFrame in app.py to include 'Order' column for improved player management and display. Adjust related logic to ensure consistent handling of player data across the application, enhancing clarity and user experience.
aa1ddcc

James McCool commited on

Enhance lineup display in Handbuilder tab of app.py by implementing an explicit order for player slots. Update DataFrame to show filled and unfilled slots clearly, and adjust summary calculations to ensure accurate representation of total salary, median, and ownership percentage. This improves user experience and data clarity.
fa0e4a7

James McCool commited on

Refactor player selection logic in Handbuilder tab of app.py to improve eligibility checks based on position limits. Update the DataFrame to include a 'Slot' column for better lineup management and ensure players are only added to available positions, enhancing user experience and data integrity.
e32d65b

James McCool commited on

Add 'Position' column to summary row in Handbuilder tab of app.py to provide a comprehensive overview of player data, enhancing clarity and user experience.
4f82cd3

James McCool commited on

Implement position limits and filtering logic in Handbuilder tab of app.py to manage player selection more effectively. This update enhances lineup management by preventing selection of players whose positions have reached their maximum count, improving user experience.
78266ef

James McCool commited on

Add position limits and filtering for player selection in Handbuilder tab of app.py. Implement logic to exclude players whose positions have reached their maximum count, enhancing lineup management and user experience.
1ddfb47

James McCool commited on

Refine player selection DataFrame in Handbuilder tab of app.py by adding duplicate removal based on 'Player' and 'Team', ensuring data integrity and enhancing user experience.
00eff85

James McCool commited on

Update player selection DataFrame in Handbuilder tab of app.py to remove duplicate entries based on 'Player' and 'Team', enhancing data integrity and improving user experience.
99cdacb

James McCool commited on

Sort player selection DataFrame by 'Order' in Handbuilder tab of app.py to enhance display clarity and ensure consistent ordering of players based on their designated order, improving user experience.
52fbe00

James McCool commited on

Add session state management for player selection in Handbuilder tab of app.py by introducing a unique key to reset selection upon player choice. This enhancement improves user experience by ensuring accurate player selection and preventing stale selections during interactions.
ed2145b

James McCool commited on

Implement lineup management in Handbuilder tab of app.py by introducing a session state for the lineup, allowing players to be added without duplicates. Update summary calculations to reflect the current lineup and add a "Clear Lineup" button for user convenience, enhancing overall functionality and user experience.
9274561

James McCool commited on

Refactor player selection handling in Handbuilder tab of app.py by removing unnecessary session state variables and simplifying the selection logic. Update the display of selected players to directly reflect current selections, enhancing clarity and user experience.
633710b

James McCool commited on

Enhance player selection state management in Handbuilder tab of app.py by initializing and maintaining a session state for selected indices. Implement logic to handle out-of-range selections and update the display based on current selections, improving user experience and selection accuracy.
263e733

James McCool commited on

Refactor player selection display in Handbuilder tab of app.py to utilize a dataframe for selected players, improving selection accuracy and user experience. Update summary row calculation to align with new selection method, ensuring accurate display of total salary, median, and ownership percentage.
4263647

James McCool commited on

Refactor player selection logic in Handbuilder tab of app.py to initialize session state DataFrame for player selections, ensuring all players are included when teams change. Update filtering mechanism to improve selection accuracy and user experience.
88a871a

James McCool commited on

Add summary row to player selection display in Handbuilder tab of app.py, calculating total salary, median, and ownership percentage, and displaying the most common team for improved data insight and user experience.
a5d3c74

James McCool commited on

Adjust team filter UI in Handbuilder tab of app.py to spread toggle switches across fewer columns, improving layout and user experience.
82356a0

James McCool commited on

Add team filter UI in Handbuilder tab of app.py to allow users to toggle team selections, enhancing player selection flexibility and improving user experience.
45ce301

James McCool commited on

Enhance "Clear Data" button functionality in Handbuilder tab of app.py by introducing a session state variable to control the key, ensuring a proper reset of the player selection editor on each rerun, thereby improving user interactivity and experience.
8fb51c2

James McCool commited on

Refactor "Clear Data" button functionality in Handbuilder tab of app.py to ensure proper data reset on rerun, enhancing user interactivity and maintaining a clean state for player selections.
d98390d

James McCool commited on

Update "Clear Data" button functionality in Handbuilder tab of app.py to trigger a rerun, improving data refresh behavior and enhancing user interactivity.
89fbc24

James McCool commited on

Refactor player selection logic in Handbuilder tab of app.py by removing the "Clear All Selections" button and simplifying the state management. Introduce a "Clear Data" button to reset selections, enhancing user experience and interactivity.
94b6cea

James McCool commited on

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