The script reads a csv file called 'teams.csv' and creates a list of tuples containing the team name and score. The list is then sorted in descending order by score. The teams are then evenly distributed into a specified number of team lists. The team lists are then printed and written to a new csv file called 'teams_out.csv'. The csv file is then transposed and written to another csv file called 'teams_out_transpose.csv'.
To use this script, you will need to install the following packages:
pip install faker
pip install pandas
To run the script, simply run the following command:
python team_generator.py