Skip to content

ahmedtijaninet/TeamGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Team Generator

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'.

Installation

To use this script, you will need to install the following packages:

pip install faker
pip install pandas

Usage

To run the script, simply run the following command:

python team_generator.py