Skip to content

Instantly share code, notes, and snippets.

@liannewriting
Last active January 20, 2020 16:44
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 liannewriting/e966e9b1f13ec6628c9cbc7d2dc9df68 to your computer and use it in GitHub Desktop.
Save liannewriting/e966e9b1f13ec6628c9cbc7d2dc9df68 to your computer and use it in GitHub Desktop.
sports_betting202001
# subtract home from visitor
df_model = df_home.sub(df_visitor)
df_model['goal_difference'] = df['goal_difference']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment