From 43acfddd4c818ab4524ac122472638fe8cbf190d Mon Sep 17 00:00:00 2001 From: dimakudosh Date: Sun, 26 Sep 2021 20:02:05 +0300 Subject: [PATCH] Fix docs --- docs/installation.rst | 2 +- docs/usage.rst | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/installation.rst b/docs/installation.rst index d255dd7..a8bf6be 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -6,7 +6,7 @@ Installation Compatibility ------------- -**pydfs-lineup-optimizer** works with following versions of python: Python: 3.3+ +**pydfs-lineup-optimizer** works with following versions of python: Python: 3.8+ Installation ------------ diff --git a/docs/usage.rst b/docs/usage.rst index 7a22993..14d9761 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -275,6 +275,7 @@ It increases fantasy points for each player that wasn't used in the previous lin It works cumulatively so fantasy points will be greater if the player wasn't used in the lineup multiple times. After the player will be selected to lineup his points will be reset to the original value. You can change this value for a specific player by setting `progressive_scale` property of Player or by adding `Progressive Scale` column to import csv. + .. code-block:: python optimizer.set_fantasy_points_strategy(ProgressiveFantasyPointsStrategy(0.01)) # Set progressive strategy that increase player points by 1% @@ -298,10 +299,12 @@ All of these lineups will be excluded from optimization and newly generated line optimizer.print_statistic() optimizer.export('export.csv') + Additional columns in csv ------------------------- The optimizer can parse those additional columns that can be added to imported csv: + - Max Exposure - Min Exposure - Roster Order