nflverse / nfl_data_py

Python code for working with NFL play by play data.
MIT License
252 stars 48 forks source link

import_sc_lines only updated to 2020 #81

Open jdhassan opened 7 months ago

jdhassan commented 7 months ago

I can't pull game lines data from past 2020, looking to pull future data if possible... Input: if __name__ == "__main__": lines = nfl.import_sc_lines() print(lines.head) Output `root@localhost:~# python3 ~/nfl_picks/init.py <bound method NDFrame.head of season week away_team home_team game_id side line 0 2013 1 BAL DEN 2013090500 BAL 7.5 1 2013 1 BAL DEN 2013090500 DEN -7.5 2 2013 1 NE BUF 2013090800 BUF 9.5 3 2013 1 NE BUF 2013090800 NE -9.5 4 2013 1 SEA CAR 2013090801 CAR 3.5 ... ... ... ... ... ... ... ... 4087 2020 17 JAX IND 2021010313 JAX 14.0 4088 2020 17 ARI LA 2021010314 ARI -2.5 4089 2020 17 ARI LA 2021010314 LA 2.5 4090 2020 17 SEA SF 2021010315 SEA -6.0 4091 2020 17 SEA SF 2021010315 SF 6.0

[4092 rows x 7 columns]> done`