Skip to content

Instantly share code, notes, and snippets.

@MemphisMeng
Last active August 3, 2020 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MemphisMeng/d0b1f3989fbae454139c7b0d2e78cc66 to your computer and use it in GitHub Desktop.
Save MemphisMeng/d0b1f3989fbae454139c7b0d2e78cc66 to your computer and use it in GitHub Desktop.
medium descrption
# "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