Closed jgamblin closed 3 years ago
Whoopsy, idk what happened there.
For the time being, you can use:
from pybaseball.statcast_running import statcast_sprint_speed
@wfordh what should be happening here? Is the doc wrong or is the code wrong?
Hmm I'll look into it. I know when I was testing the other statcast pieces the imports were a little different than anticipated. Without looking, either what's in the example or what @schorrm suggested should work.
Fixed in #228
I was attempting to look at the sprint speeds for this year using this example and end up getting this error:
ImportError: cannot import name 'statcast_sprint_speed' from 'pybaseball' (/usr/local/lib/python3.9/site-packages/pybaseball/__init__.py)
My Test Jupyter Notebook is here.