pybaseball icon indicating copy to clipboard operation
pybaseball copied to clipboard

Pull current and historical baseball statistics using Python (Statcast, Baseball Reference, FanGraphs)

Results 158 pybaseball issues
Sort by recently updated
recently updated
newest added

I can use `schedule_and_record` to download some basic info about games but how do I get the game-id for those games so that I can then use `statcast_single_game`? Also how...

I am using pybaseball 2.2.1, but for some reason when I try and using batting_stats, I don't get data for every MLB player. For example, if I filter for just...

It would be nice to have a link or at least the hash value where I can find the videoclip for a specific pitch. Right now I have to redo...

feature request

…. Quick example: datetime_object = datetime.strptime('May 05 2021', '%b %d %Y') visitor_batting_df, home_batting_df, visitor_pitching_df, home_pitching_df \ = box_score('OAK', datetime_object, 0) print(f"{visitor_pitching_df.loc[0, 'Pitching']} vs {home_pitching_df.loc[0, 'Pitching']}")

Hello, Is there a way to request a fangraph split stats as a pybaseball module? Based on my understanding of the code, the fangraph functions batting_stats and pitching_stats only apply...

This is probably a bit of an arduous task but I think a quite valuable one. Fangraphs has a collection of the most valuable and in-depth stats and having this...

help wanted
feature request
good first issue

As an environmental variable or something there should be a way to pass a parameter of True here so that the register can be saved. https://github.com/jldbc/pybaseball/blob/master/pybaseball/playerid_lookup.py#L79

This project should really have a clear way of running the tests and how to add more tests for contributors. :D Happy to take this on myself, but opening issue...

Please rename master branch. https://github.com/github/renaming This is a helpful reference: https://stevenmortimer.com/5-steps-to-change-github-default-branch-from-master-to-main/ Thanks

feedback wanted
governance

So in a recent PR I tried to bring in some formatting changes (not necessarily on purpose, mostly because it was my first PR, and I always have some sort...

question
feedback wanted
governance