pydfs-lineup-optimizer icon indicating copy to clipboard operation
pydfs-lineup-optimizer copied to clipboard

Csv export

Open Dfslegend opened this issue 3 years ago • 5 comments

Does anyone know how to add the average ownership to the cvs export? I see in the code, Budget and Fppg. If I add Ownership would it automatically add it too?

Dfslegend avatar Jun 16 '22 22:06 Dfslegend

yes

lightninglarry avatar Jun 20 '22 10:06 lightninglarry

yes

I tried that but maybe I was in the wrong spot. What file is the actual code under

Dfslegend avatar Jun 20 '22 14:06 Dfslegend

it works for me if ive edited my csv to have #s in the ownership columns and including this line optimizer.add_players_group(PlayersGroup( players=[player for player in optimizer.players if player.projected_ownership <= 10],min_from_group=1))

lightninglarry avatar Jun 23 '22 11:06 lightninglarry

He wanted it on the export csv not in the import larry

On Thu, Jun 23, 2022, 7:36 AM lightninglarry @.***> wrote:

it works for me if ive edited my csv to have #s in the ownership columns and including this line optimizer.add_players_group(PlayersGroup( players=[player for player in optimizer.players if player.projected_ownership <= 10],min_from_group=1))

— Reply to this email directly, view it on GitHub https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/368#issuecomment-1164299969, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBWO7RGDIICUHI4UYK5QUDVQRD4VANCNFSM5ZAJNZRQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Denwen12 avatar Oct 11 '22 08:10 Denwen12

That's actually pretty easy

Denwen12 avatar Oct 18 '22 05:10 Denwen12