MLB_DFS_ROO / app.py

Commit History

Add informational tooltip in app.py for optimals filters to enhance user guidance. Adjust column layout for download buttons to streamline the export process, improving overall user experience.
3d22992
Running

James McCool commited on

Enhance data export functionality in app.py by adding a fourth column for stack inputs and implementing filters for minimum and maximum salary and stack counts. This update improves user experience by allowing more granular control over exported data for both DraftKings and FanDuel.
98b4070

James McCool commited on

Add new convert_pm_df function for Portfolio Manager exports in app.py. Update download buttons to utilize this new function, enhancing data export functionality and ensuring consistent CSV formatting for both IDs and Names.
0ea88cb

James McCool commited on

Refactor data export logic in app.py to remove unnecessary index settings for columns in DraftKings and FanDuel exports. This change enhances data clarity by ensuring only relevant columns are dropped, streamlining the export process for both Portfolio Manager options.
f2e277e

James McCool commited on

Refactor data export logic in app.py to ensure consistent column dropping and index setting for DraftKings and FanDuel across slate types. This update improves data clarity and maintains a streamlined export process for both Portfolio Manager options.
e9b7641

James McCool commited on

Refactor data export logic in app.py to streamline column dropping and index setting for DraftKings and FanDuel. This update enhances the clarity of exported data by ensuring consistent handling across different slate types, improving overall user experience.
fdf5897

James McCool commited on

Enhance data export functionality in app.py by implementing conditional column dropping and index setting based on selected site and slate type for both DraftKings and FanDuel. This update ensures accurate data formatting for Portfolio Manager exports, improving user experience and data clarity.
5175e51

James McCool commited on

Refactor data export handling in app.py by removing unnecessary index setting in download button data. This change simplifies the export process for both Portfolio Manager options, ensuring cleaner data output.
85ba957

James McCool commited on

Refactor download button layout in app.py to improve organization and accessibility of export options. Adjusted column widths for Regular and Portfolio Manager exports, ensuring a more user-friendly interface for data downloads.
ea7e744

James McCool commited on

Remove unused variable pm_export in app.py to clean up code and improve clarity in data handling for slate types.
912aba9

James McCool commited on

Refactor download button data handling in app.py to use convert_df_to_csv for ROO exports. This change improves data export functionality for both Regular and Portfolio Manager options, ensuring consistent file formatting.
4642ddb

James McCool commited on

Add download buttons for ROO exports in app.py based on slate type. Implemented separate export options for Regular and Showdown slates, enhancing user functionality and data accessibility.
755f1e4

James McCool commited on

Remove unused gspread import from app.py to streamline dependencies and improve code clarity.
7d00df7

James McCool commited on

Update scoring percentages calculation in app.py to include separate metrics for DraftKings and FanDuel. This change enhances the data structure by introducing 'DK_Runs/$' and 'FD_Runs/$', while also refining the handling of average salary columns for each platform, improving overall data accuracy for player selection.
84cda72

James McCool commited on

Update app.py to include 'FLEX5' in player selection for various slate types. This change enhances the data structure for player lineups, ensuring compatibility with expanded player options in the application.
4f7c6f3

James McCool commited on

Refactor player selection logic in app.py to improve handling of 'Top (1-5)' and 'Mid (4-8)' conditions. This update introduces additional player selection when the count is less than auto_size_var, ensuring accurate sorting and selection of players, thereby enhancing the application's functionality.
1d52481

James McCool commited on

Enhance player selection logic in app.py by adding display of selected players for 'Mid (4-8)' condition. This update improves user feedback by showing the selected players when the count is less than the specified auto_size_var, thereby enhancing the application's usability.
026ef43

James McCool commited on

Update player selection logic in app.py to correctly handle additional player selection for 'Mid (4-8)' condition. This change ensures that the logic accommodates the specified auto_size_var, enhancing the accuracy of player selection in the application.
146d4c4

James McCool commited on

Enhance player selection logic in app.py to ensure accurate handling of auto_size_var for 'Top (1-5)' and 'Mid (4-8)' conditions. This update improves player selection by allowing for an additional player when the selected count is less than the specified size, thereby enhancing the application's functionality.
12300bb

James McCool commited on

Fix player selection logic in app.py to correctly handle auto_size_var for 'Mid (4-8)' condition. This adjustment ensures accurate player selection based on the specified size, enhancing the functionality of the application.
d4b74a6

James McCool commited on

Refactor player selection logic in app.py to accommodate dynamic auto size
53b3878

James McCool commited on

Refactor player data mapping in app.py to improve position-based logic
fe4a9c1

James McCool commited on

Enhance data handling in app.py by expanding player data mapping
4b41aad

James McCool commited on

Comment out redundant player index setting in app.py to prevent potential errors during data display. This change maintains the existing functionality while improving error handling in the data presentation logic.
e091f4e

James McCool commited on

Refactor player count logic in app.py to enhance clarity
8912250

James McCool commited on

Refactor opponent and team total mapping in app.py for improved data handling
67bd128

James McCool commited on

Refactor data mapping in app.py to simplify opponent assignment
68a67eb

James McCool commited on

Remove redundant CSS rule for portal element in app.py to streamline styling
806469b

James McCool commited on

Update CSS in app.py to further adjust font size for portal element
92a38a7

James McCool commited on

Update CSS in app.py to adjust font size for portal element
51177bc

James McCool commited on

Add CSS rule in app.py to set font size for table rows
03c5140

James McCool commited on

Update CSS selector in app.py to simplify box-sizing implementation
2eb1ce8

James McCool commited on

Update CSS selector in app.py to improve layout consistency
21ba2d1

James McCool commited on

Update CSS styles in app.py to enhance layout and box-sizing
00000b9

James McCool commited on

Update font size in app.py for improved readability
894e5c8

James McCool commited on

Enhance styling in app.py for improved readability
61a27a2

James McCool commited on

Refactor lineup display in app.py to improve styling and readability
e87901e

James McCool commited on

Enhance lineup building logic in app.py to support both Draftkings and Fanduel platforms
2f2fe43

James McCool commited on

Add error handling for opponent and team total mappings in app.py
3e7ecca

James McCool commited on

Adjust player selection logic in app.py for 'Mid' category to correct range calculation, ensuring accurate filtering of players based on updated order parameters. This change enhances the user experience in lineup creation.
ada3119

James McCool commited on

Update player selection logic in app.py to adjust range parameters for 'Mid' and 'Wrap' categories. Enhanced the selection criteria to ensure accurate player filtering based on updated order ranges, improving user experience in lineup creation.
2d30a95

James McCool commited on

Refactor player selection DataFrame in app.py to ensure consistent filtering by salary and position. Updated logic to apply filters correctly, enhancing data integrity and user experience in lineup creation.
2c354dd

James McCool commited on

Refactor player position selection logic in app.py to simplify user experience. Removed conditional check for 'Specific' position selection, allowing direct multiselect input for positions.
53de179

James McCool commited on

Update position selection key in player filters for consistency
0aa6473

James McCool commited on

Add player filters to app.py for enhanced selection options
c6c03f4

James McCool commited on

Update 'Team_Total' and 'Opp_Total' column mappings in app.py to reference RHH_Info instead of RHP_Info, ensuring accurate data retrieval for team and opponent totals and enhancing data integrity in player selection metrics.
ad4de6d

James McCool commited on

Correct 'Team_Total' and 'Opp_Total' column mappings in app.py to accurately reference 'Opp' and 'Team', respectively, ensuring improved data integrity in player selection metrics.
7ff22e0

James McCool commited on

Refactor 'Team_Total' and 'Opp_Total' column mappings in app.py to utilize drop_duplicates() for improved data accuracy and integrity in player selection metrics.
0062b10

James McCool commited on

Refactor 'Team_Total' and 'Opp_Total' column mappings in app.py to utilize the first value from the respective DataFrame, ensuring accurate data retrieval and enhancing the integrity of player selection metrics.
42a9b70

James McCool commited on

Update 'Team_Total' and 'Opp_Total' column mappings in app.py to use the first value from the respective DataFrame, ensuring accurate data retrieval and improving the integrity of player selection metrics.
5a354a6

James McCool commited on