Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmaloney committed Aug 29, 2019
1 parent bbfab89 commit bd28b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -85,7 +85,7 @@ def merge_data(df):

test = pd.merge(df, odds_db, left_on=["Fighter_1"], right_on=["Fighter1"])
test2 = pd.merge(test, odds_db, left_on=["Fighter_2"], right_on=["Fighter2"])
test3= pd.concat([test2,odds_db], sort=True)
test3= pd.concat([test2,odds_db], axis =1, sort=True)


final_df = test3[['Event', 'Fighter_1', 'Fighter_2', 'Fighter1_Odds', 'Fighter2_Odds']]
Expand Down

0 comments on commit bd28b5a

Please sign in to comment.