Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add box score to gather line score data #426

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

earlonrails
Copy link

@earlonrails earlonrails commented Jun 2, 2024

I wanted to gather line scores since the dataset I was using had errors in their line score data. This PR adds that functionality to pybaseball.

from pybaseball import boxes

team = 'DET'
date = '2010-07-19'

boxes(team, date)
             team      line_score runs hits errors
1   Texas Rangers  20300010000002    8   19      3
2  Detroit Tigers  11102001000000    6   13      2

removed unused deps

change this to kind so it does not shadow builtin

change this to be usable in 3.9 as the library currently supports 3.9

removed unnecessary column changes

remove dropping empty string key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant