Li-Hsuan Hsieh
Li-Hsuan Hsieh
I think this one might be related to #376
Looks like they removed the table class name `rgMasterTable` so we cannot get the correct data.  Fixed by PR #377 temporarily.
I have tested the `stats = statcast(start_dt="2023-06-25")` code on both Colab (python 3.10.12) and my local environment (3.11.2) and they worked fine. I guess maybe something went wrong in concurrent...
I found that some cache file not save completely that cause `cache.purge()` cannot parse them. In my case, file name with prefix `_small_request` all only contain ``` json {"func": "_small_request",...
Found their API maybe this will help? https://www.fangraphs.com/api/leaders/minor-league/data?pos=all&level=0&lg=2,4,5,6,7,8,9,10,11,14,12,13,15,16,17,18,30,32,33&stats=bat&qual=y&type=0&team=&season=2023&seasonEnd=2023&org=&ind=0&splitTeam=false Maybe we could use the same solution from my [PR](https://github.com/jldbc/pybaseball/pull/398) if the API could work
Oh my bad. I think it is because the season I selected does not have any data. The error disappears after I use season `1940` . Maybe we could still...
Does this page help? https://baseballsavant.mlb.com/leaderboard/catcher-throwing You can see the stolen base attempts for each catchers and it'll contain **Catcher Name**, **Pitcher Name**, **Runner Name** and **Fielder Name**. But it looks...
Try to replace `python` with `pybaseball.statcast_pitcher`. `statcast_pitcher_active_spin` not import in the root [__init__.py](https://github.com/jldbc/pybaseball/blob/master/pybaseball/__init__.py) file so you can only import it from `statcast_pitcher`
I don't think BR gives us the options to select certain range of years data. It can only get data for one specific year or player's career splits data by...
Just add `qual=0` argument to your code. The default is `qual=y` and it means minimum **PA** should be 3.1 PA per team game which is 500 for one season. For...