Skip to content

Commit

Permalink
Update scrape-baseball-games.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rafabelokurows authored Apr 17, 2024
1 parent c459b4a commit 853b166
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scrape-baseball-games.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ def game_odds():
# Concatenate the resulting DataFrames into a single DataFrame
run_odds = pd.concat(result_dfs, ignore_index=True)

run_odds.to_csv("data/baseballrunodds"+strftime("%Y%m%d%H%M", gmtime())+".csv",index=False)
games.to_csv("data/baseballgames"+strftime("%Y%m%d%H%M", gmtime())+".csv",index=False)
run_odds.to_csv("data/2024/baseballrunodds"+strftime("%Y%m%d%H%M", gmtime())+".csv",index=False)
games.to_csv("data/2024/baseballgames"+strftime("%Y%m%d%H%M", gmtime())+".csv",index=False)

0 comments on commit 853b166

Please sign in to comment.