Skip to content

Commit

Permalink
MBB Raw Updated (Start: 2024 End: 2024)
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Apr 2, 2024
1 parent f6791f8 commit 88ddf19
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 1,816 deletions.
41 changes: 41 additions & 0 deletions hoopR_mbb_raw_logfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22296,3 +22296,44 @@ Error originated just after this operation:
DF []; PROJECT */0 COLUMNS; SELECTION: "None"
INFO:__main__:19.434929517904916 minutes to download 6237 game play-by-plays.
INFO:__main__:Finished MBB PBP for 2024...
INFO:__main__:Scraping MBB schedules for year 2024...
INFO:__main__:3.513421567281087 minutes to download 1 years of season schedules.
INFO:__main__:Scraping MBB PBP for 2024...
INFO:__main__:Number of Games: 6237
ERROR:__main__:Exception: game_id = 401594319
Traceback (most recent call last):
File "python/scrape_mbb_json.py", line 78, in download_game
result = sdv.mbb.helper_mbb_pbp(
File "/mnt/sdv_repos/sdv-py/sportsdataverse/mbb/mbb_pbp.py", line 104, in helper_mbb_pbp
pbp_txt = helper_mbb_pbp_features(game_id, pbp_txt, init)
File "/mnt/sdv_repos/sdv-py/sportsdataverse/mbb/mbb_pbp.py", line 231, in helper_mbb_pbp_features
pbp_txt["plays"]
File "/usr/local/lib/python3.8/dist-packages/polars/dataframe/frame.py", line 7631, in with_columns
self.lazy()
File "/usr/local/lib/python3.8/dist-packages/polars/utils/deprecation.py", line 93, in wrapper
return function(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/polars/lazyframe/frame.py", line 1695, in collect
return wrap_df(ldf.collect())
exceptions.ColumnNotFoundError: id

Error originated just after this operation:
DF []; PROJECT */0 COLUMNS; SELECTION: "None"
Traceback (most recent call last):
File "python/scrape_mbb_json.py", line 78, in download_game
result = sdv.mbb.helper_mbb_pbp(
File "/mnt/sdv_repos/sdv-py/sportsdataverse/mbb/mbb_pbp.py", line 104, in helper_mbb_pbp
pbp_txt = helper_mbb_pbp_features(game_id, pbp_txt, init)
File "/mnt/sdv_repos/sdv-py/sportsdataverse/mbb/mbb_pbp.py", line 231, in helper_mbb_pbp_features
pbp_txt["plays"]
File "/usr/local/lib/python3.8/dist-packages/polars/dataframe/frame.py", line 7631, in with_columns
self.lazy()
File "/usr/local/lib/python3.8/dist-packages/polars/utils/deprecation.py", line 93, in wrapper
return function(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/polars/lazyframe/frame.py", line 1695, in collect
return wrap_df(ldf.collect())
exceptions.ColumnNotFoundError: id

Error originated just after this operation:
DF []; PROJECT */0 COLUMNS; SELECTION: "None"
INFO:__main__:20.82098803917567 minutes to download 6237 game play-by-plays.
INFO:__main__:Finished MBB PBP for 2024...
Loading

0 comments on commit 88ddf19

Please sign in to comment.