Super helpful demo and very easy to follow! Question-will this type of data be available in-season? Like could I add 2023 to my season parameter after week 1 is complete or would I have to wait until season is over to get any 2023 data?
Hi - Are you still reviewing and by chance answering questions about the code here. I am brand new to python and coding really. i am trying to load in all data for the last 5 years and predict how many rushing yards someone will have in an upcoming game. Basically trying to validate the Over / Under for Rush Yards against what DraftKings has. Do you have any code or videos that would help pull this specific data. I am using this video as a starter. getting there I think, but if you have anything specific around specific data types, it would be helpful
one thing I discovered while running this with 2023 numbers was that B. Robinson was counted as Bijan and Brian.. so for me the targets total was 129 (combined of the two) and it seemed to do the same with their other stats. Is there a better way to grab their names without just using first initial and last name?
I ran into the same issue. With the help from AI, I was able to split Bijan and Brian. pbp_rp['receiver_player_name'] = pbp_rp.apply(lambda row: 'Bijan Robinson' if row['receiver_player_name'] == 'B.Robinson' and row['posteam'] == 'ATL' else ('Brian Robinson' if row['receiver_player_name'] == 'B.Robinson' and row['posteam'] == 'WAS' else row['receiver_player_name']), axis=1) pbp_rp['rusher_player_name'] = pbp_rp.apply(lambda row: 'Bijan Robinson' if row['rusher_player_name'] == 'B.Robinson' and row['posteam'] == 'ATL' else ('Brian Robinson' if row['rusher_player_name'] == 'B.Robinson' and row['posteam'] == 'WAS' else row['rusher_player_name']), axis=1)
U should be using environments right? Doesn’t pip install with no environment plug up your pc in the long run? Also u want the environment to explain in a readme file what u where using when it worked. Let me kmow
Very clear and easy to follow! Great stuff!
This was perfect! thanks so much for doing this. looking forward to future videos!
Awesome tutorial!!
Will this auto update throughout the season?
Amazing! Thank you so much
Super helpful demo and very easy to follow! Question-will this type of data be available in-season? Like could I add 2023 to my season parameter after week 1 is complete or would I have to wait until season is over to get any 2023 data?
yes it’s available during the season!
This is awesome. Thank you for doing it. Do you know why some of the logos did not scale down for me?
I have the same Problem !
I have the same issue (Raiders, Packers & Jets)
Same issue here. Any fix?
I pre-processed the images to same size using numpy and pillow "PIL" to size all the images to same size.
Hi - Are you still reviewing and by chance answering questions about the code here. I am brand new to python and coding really.
i am trying to load in all data for the last 5 years and predict how many rushing yards someone will have in an upcoming game. Basically trying to validate the Over / Under for Rush Yards against what DraftKings has. Do you have any code or videos that would help pull this specific data. I am using this video as a starter. getting there I think, but if you have anything specific around specific data types, it would be helpful
one thing I discovered while running this with 2023 numbers was that B. Robinson was counted as Bijan and Brian.. so for me the targets total was 129 (combined of the two) and it seemed to do the same with their other stats. Is there a better way to grab their names without just using first initial and last name?
I ran into the same issue. With the help from AI, I was able to split Bijan and Brian.
pbp_rp['receiver_player_name'] = pbp_rp.apply(lambda row: 'Bijan Robinson' if row['receiver_player_name'] == 'B.Robinson' and row['posteam'] == 'ATL'
else ('Brian Robinson' if row['receiver_player_name'] == 'B.Robinson' and row['posteam'] == 'WAS'
else row['receiver_player_name']), axis=1)
pbp_rp['rusher_player_name'] = pbp_rp.apply(lambda row: 'Bijan Robinson' if row['rusher_player_name'] == 'B.Robinson' and row['posteam'] == 'ATL'
else ('Brian Robinson' if row['rusher_player_name'] == 'B.Robinson' and row['posteam'] == 'WAS'
else row['rusher_player_name']), axis=1)
Trying to figure out why it's listing 36 teams (0 thru 35) in the 2022 NFL season.
Is there a way I can get the raw pbp data that you use?
Hey this is great. What is the best way to get updated data for this past season 23-24?
The nfl python packages update automatically so to get updated data you just have to reload the packages
I opened colab and ran the code and am getting this error ModuleNotFoundError: No module named 'nfl_data_py'
I had to remove the # first, I think it was ignoring the import because it thought it was a comment
@@gilbster thanks I appreciate your help!
U should be using environments right? Doesn’t pip install with no environment plug up your pc in the long run? Also u want the environment to explain in a readme file what u where using when it worked. Let me kmow
I don’t like just installing personally
GO SEAHAWKS!