Last active
August 3, 2020 19:27
-
-
Save MemphisMeng/d0b1f3989fbae454139c7b0d2e78cc66 to your computer and use it in GitHub Desktop.
medium descrption
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# "fixtures" is the fixture table containing all the matches that have taken place | |
# "aggregate" is the set of selected features | |
fixtures = fixtures.merge(aggregate, left_on='Home', right_on='Squad') | |
fixtures = fixtures.merge(aggregate, left_on='Away', right_on='Squad', suffixes=('_Home', '_Away')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment