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

create datafile with two horses per datum #6

Open
DrewMcArthur opened this issue Jun 5, 2017 · 0 comments
Open

create datafile with two horses per datum #6

DrewMcArthur opened this issue Jun 5, 2017 · 0 comments

Comments

@DrewMcArthur
Copy link
Owner

read horse info until get to new race, adding to list.
now we have a list of dictionaries, each containing info about each horse in the race
we can then create dictionaries representing a single row to write to the file by merging the race info with a combination of two horses' dictionaries from the list, creating all possible combinations.

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

No branches or pull requests

1 participant