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 18, 2024
1 parent 2e75b4b commit 1fb58cf
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions hoopR_mbb_raw_logfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23504,3 +23504,44 @@ Error originated just after this operation:
DF []; PROJECT */0 COLUMNS; SELECTION: "None"
INFO:__main__:21.263824137051902 minutes to download 6243 game play-by-plays.
INFO:__main__:Finished MBB PBP for 2024...
INFO:__main__:Scraping MBB schedules for year 2024...
INFO:__main__:3.297473951180776 minutes to download 1 years of season schedules.
INFO:__main__:Scraping MBB PBP for 2024...
INFO:__main__:Number of Games: 6243
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__:19.805450054009757 minutes to download 6243 game play-by-plays.
INFO:__main__:Finished MBB PBP for 2024...
Binary file modified mbb/schedules/rds/mbb_schedule_2024.rds
Binary file not shown.

0 comments on commit 1fb58cf

Please sign in to comment.