DimaKudosh / pydfs-lineup-optimizer

Daily Fantasy Sports lineup optimzer for all popular daily fantasy sports sites
MIT License
423 stars 157 forks source link

Csv export #368

Open Dfslegend opened 2 years ago

Dfslegend commented 2 years ago

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?

lightninglarry commented 2 years ago

yes

Dfslegend commented 2 years ago

yes

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

lightninglarry commented 2 years ago

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))

Denwen12 commented 2 years ago

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 commented 2 years ago

That's actually pretty easy