Python, creating and sorting a csv leaderboard
up vote
-2
down vote
favorite
I am trying to create a csv leaderboard where a person's name and how many wins they have get recorded and sorted so that the top 3 people (based on wins) are at the top. I have managed to figure everything but this.
Also, how would I read from this leaderboard?
python csv sorting order leaderboard
add a comment |
up vote
-2
down vote
favorite
I am trying to create a csv leaderboard where a person's name and how many wins they have get recorded and sorted so that the top 3 people (based on wins) are at the top. I have managed to figure everything but this.
Also, how would I read from this leaderboard?
python csv sorting order leaderboard
1
Hi John, welcome to StackOverflow! When posting a question please try to provide a sample input that we could use to test your problem, any code you may have tried and what isn't working, as well as the expected output. If you follow these simple guidelines you will be much more likely to receive an adequate answer in future posts!
– d_kennetz
Nov 8 at 20:20
This is not nearly enough information. What does your input data look like? and what would your output data look like?
– madsthaks
Nov 8 at 20:21
add a comment |
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
I am trying to create a csv leaderboard where a person's name and how many wins they have get recorded and sorted so that the top 3 people (based on wins) are at the top. I have managed to figure everything but this.
Also, how would I read from this leaderboard?
python csv sorting order leaderboard
I am trying to create a csv leaderboard where a person's name and how many wins they have get recorded and sorted so that the top 3 people (based on wins) are at the top. I have managed to figure everything but this.
Also, how would I read from this leaderboard?
python csv sorting order leaderboard
python csv sorting order leaderboard
asked Nov 8 at 20:17
John Smith
73
73
1
Hi John, welcome to StackOverflow! When posting a question please try to provide a sample input that we could use to test your problem, any code you may have tried and what isn't working, as well as the expected output. If you follow these simple guidelines you will be much more likely to receive an adequate answer in future posts!
– d_kennetz
Nov 8 at 20:20
This is not nearly enough information. What does your input data look like? and what would your output data look like?
– madsthaks
Nov 8 at 20:21
add a comment |
1
Hi John, welcome to StackOverflow! When posting a question please try to provide a sample input that we could use to test your problem, any code you may have tried and what isn't working, as well as the expected output. If you follow these simple guidelines you will be much more likely to receive an adequate answer in future posts!
– d_kennetz
Nov 8 at 20:20
This is not nearly enough information. What does your input data look like? and what would your output data look like?
– madsthaks
Nov 8 at 20:21
1
1
Hi John, welcome to StackOverflow! When posting a question please try to provide a sample input that we could use to test your problem, any code you may have tried and what isn't working, as well as the expected output. If you follow these simple guidelines you will be much more likely to receive an adequate answer in future posts!
– d_kennetz
Nov 8 at 20:20
Hi John, welcome to StackOverflow! When posting a question please try to provide a sample input that we could use to test your problem, any code you may have tried and what isn't working, as well as the expected output. If you follow these simple guidelines you will be much more likely to receive an adequate answer in future posts!
– d_kennetz
Nov 8 at 20:20
This is not nearly enough information. What does your input data look like? and what would your output data look like?
– madsthaks
Nov 8 at 20:21
This is not nearly enough information. What does your input data look like? and what would your output data look like?
– madsthaks
Nov 8 at 20:21
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53215491%2fpython-creating-and-sorting-a-csv-leaderboard%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Hi John, welcome to StackOverflow! When posting a question please try to provide a sample input that we could use to test your problem, any code you may have tried and what isn't working, as well as the expected output. If you follow these simple guidelines you will be much more likely to receive an adequate answer in future posts!
– d_kennetz
Nov 8 at 20:20
This is not nearly enough information. What does your input data look like? and what would your output data look like?
– madsthaks
Nov 8 at 20:21