Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add summary method to result set #707

Merged
merged 2 commits into from
Sep 18, 2016
Merged

Conversation

drvinceknight
Copy link
Member

Addresses one part of #701

Have not added the part to write to file, thought that could be left outside of the library (users could choose to write it to csv, json etc...: once we've got the list of named tuples it's easy enough to do)? Not terribly sure though so happy enough to add it in.

At the moment I've just included the following tournament results:

  • Rank
  • Name
  • Score
  • Cooperation rating
  • Wins

Easy enough to add more.

@marcharper
Copy link
Member

I think it would be nice to have the write to csv method, as you say it's easy with namedtuples, and probably future-proof-able.

@drvinceknight
Copy link
Member Author

Cool I'll add that in today if I get a quiet moment (pyconuk has started :)).

Addresses one part of Axelrod-Python#701

At the moment I've just included the following tournament results:

- Rank
- Name
- Score
- Cooperation rating
- Wins

Easy enough to add more.
@drvinceknight
Copy link
Member Author

I've added the ability to write csv. At a later stage it would be simple enough to tweak that further to write to other data formats.

FWIW: I've just seen a demo of the new code review thing that github have implemented. It looks pretty nice! https://help.github.com/articles/about-pull-request-reviews/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants