Input files:
deliveries.csv
: ball-by-ball IPL complete dataIPLPLayerAuctionData.csv
: auction dataretained_players.csv
: players who played in RCB team, 2021
player_performance.ipynb
calculates the player performance and merges it with auction data to produce 2 files: final.csv
and retained_players_final.csv
.
final.csv
: Player name, Role, Amount, Player Origin, Average batting performance index, Average bowling performance index of players in the auction pool in 2022.retained_players_final.csv
: Player, Player Origin, Role, Average batting performance index, Average bowling performance index, Capped status for the players in the team of RCB 2021 (they can be retained)
- Run
solution_general.py
for the list of players to be chosen for a team starting from scratch, assuming no players will be retained. - Run
solution_rcb.py
for the list of new players from the auction as well as the list of retained players to be chosen for RCB.
In both cases, a file called player_names.txt
is generated containing the list of players to be chosen.