Statcast DataΒΆ

Out:

     pitch_type   game_date  ...  delta_home_win_exp  delta_run_exp
0            FC  2019-05-01  ...               0.065         -0.327
1            FC  2019-05-01  ...               0.000         -0.118
2            FF  2019-05-01  ...               0.000         -0.055
3            FF  2019-05-01  ...               0.000          0.046
4            FF  2019-05-01  ...              -0.012          0.139
...         ...         ...  ...                 ...            ...
4876         FF  2019-05-01  ...               0.000          0.037
4877         SL  2019-05-01  ...               0.000         -0.019
4878         FF  2019-05-01  ...               0.000         -0.019
4879         FF  2019-05-01  ...               0.000         -0.039
4880         SL  2019-05-01  ...               0.000         -0.069

[4881 rows x 92 columns]

from pybbda.data import StatcastData

statcast_data = StatcastData()
df = statcast_data.sc_2019_05_01
print(df)

Total running time of the script: ( 0 minutes 0.149 seconds)

Gallery generated by Sphinx-Gallery