Closed mileskee closed 3 years ago
I typed "from pybaseball import statcast_pitcher_expected_stats" and got an error message that said "cannot import name 'statcast_pitcher_expected_stats' from 'pybaseball.' I am very new to this, so I might have messed something up.
Try from pybaseball.statcast_pitcher import statcast_pitcher_expected_stats
That seems to have worked for me.
That worked, thanks a lot.
I typed "from pybaseball import statcast_pitcher_expected_stats" and got an error message that said "cannot import name 'statcast_pitcher_expected_stats' from 'pybaseball.' I am very new to this, so I might have messed something up.