If you have any questions about the code here, feel free to reach out to me on Twitter or on Reddit.

Shameless Plug Section

If you like Fantasy Football and have an interest in learning how to code, check out our Ultimate Guide on Learning Python with Fantasy Football Online Course. Here is a link to purchase for 15% off. The course includes 15 chapters of material, 14 hours of video, hundreds of data sets, lifetime updates, and a Slack channel invite to join the Fantasy Football with Python community.

Link to Google Sheets Spreadsheet

Ceiling/Floor Values

The spreadsheet above ranks ceiling/floor values for each position in the 2019 season. For those interested, the above spreadsheet was generated using the code below and 2019 weekly data available in our "Data Sets" page.

The code generates a range of values a player could have been expected to score within with 95% confidence. Players with a larger range are considered more "boom or bust", and those players with a lower range were more consistent and thus easier to predict throughout the season. The "low" columns represents a player's floor. The higher that column value, the higher a player's floor was throughout the season. Likewise, the "high" column represents a player's ceiling.

The Code

Link to Google Colab notebook