Closed educhaj closed 1 year ago
I'm assuming you're trying to do a ST game from this year.
For this query:
>>> batting_stats_range()
start_dt 2023-02-27
end_dt 2023-02-28
Warning: no date range supplied, assuming yesterday's date.
Looks like bbref doesn't have anything from ST this year.
For contrast,
>>> batting_stats_range("2022-04-13", "2022-04-20")
where you'll see a table filled. I believe the statcast queries are up to date with ST, might consider using one of those and doing groupbys to get what you want.
Thanks! I was trying to do last year, but it seems to be working now. Not sure what happened.
Hey, I keep getting a "list index out of range" when I run this. Thanks for keeping this up!