Skip to content

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