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?
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