Open christopherjluke opened 2 years ago
I'm getting the same issue but specifically for 2022 rather than 2021, years before 2021 work fine but 2022 pulls the pitching data. For a workaround, I found that doing team_batting(2022, ind=1) works properly and returns team stats. Not sure why that would fix it though
This seems like the the same caching issue mentioned here https://github.com/jldbc/pybaseball/issues/267
can you update to v2.2.3 and see if the issue still persists?
Wanted to flag that team_batting is pulling pitching stats specifically for 2021. Tested on different years and everything is working. Tried uninstalling pybaseball entirely and still getting this issue.