FootyStats / footy

Football Statistics
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Ensure the fixture method of Footy returns a Fixture object (#14). #31

Closed dallinb closed 4 years ago

dallinb commented 4 years ago

Overview

This PR ensures that instead of a complicated dictionary being returned by the fixture method of the Footy class, a Fixture object is instead. I have updated all the tests, the docstrings and the back ground Jupyter notebook. The method will always return a Fixture object, but if there is enough data to calculate the probabilities, it will enrich the object with those details.

Available Previews

Possible Areas of Contention

Issues Fixed