Introduction to NFL Data with Python (2023)

Поделиться
HTML-код
  • Опубликовано: 26 янв 2025
  • СпортСпорт

Комментарии • 28

  • @BigT_73
    @BigT_73 2 года назад +3

    Very clear and easy to follow! Great stuff!

  • @B-Ravity
    @B-Ravity Год назад +1

    This was perfect! thanks so much for doing this. looking forward to future videos!

  • @wchandler2010
    @wchandler2010 Год назад +1

    Awesome tutorial!!

  • @BuddyIsreal352
    @BuddyIsreal352 Год назад +7

    Will this auto update throughout the season?

  • @vikings-pistons
    @vikings-pistons Год назад +1

    Amazing! Thank you so much

  • @jakechamberlain6023
    @jakechamberlain6023 Год назад +3

    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?

    • @tejseth8027
      @tejseth8027 Год назад

      yes it’s available during the season!

  • @BigDave004
    @BigDave004 6 месяцев назад +1

    This is awesome. Thank you for doing it. Do you know why some of the logos did not scale down for me?

    • @morganhaworth3487
      @morganhaworth3487 6 месяцев назад +1

      I have the same Problem !

    • @Barltrop19
      @Barltrop19 5 месяцев назад +1

      I have the same issue (Raiders, Packers & Jets)

    • @iLukeCy
      @iLukeCy 4 месяца назад

      Same issue here. Any fix?

    • @andrewalbrecht8262
      @andrewalbrecht8262 Месяц назад

      I pre-processed the images to same size using numpy and pillow "PIL" to size all the images to same size.

  • @peszekv
    @peszekv 5 месяцев назад

    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

  • @mrkoolkat28
    @mrkoolkat28 8 месяцев назад +1

    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?

    • @TrueDrewSports
      @TrueDrewSports 5 месяцев назад +2

      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)

  • @MrCoreyTexas
    @MrCoreyTexas 4 месяца назад

    Trying to figure out why it's listing 36 teams (0 thru 35) in the 2022 NFL season.

  • @jimh3595
    @jimh3595 8 месяцев назад

    Is there a way I can get the raw pbp data that you use?

  • @colinbehan9330
    @colinbehan9330 11 месяцев назад

    Hey this is great. What is the best way to get updated data for this past season 23-24?

    • @samgoodman7081
      @samgoodman7081 11 месяцев назад

      The nfl python packages update automatically so to get updated data you just have to reload the packages

  • @ericwills6227
    @ericwills6227 Год назад

    I opened colab and ran the code and am getting this error ModuleNotFoundError: No module named 'nfl_data_py'

    • @gilbster
      @gilbster Год назад +1

      I had to remove the # first, I think it was ignoring the import because it thought it was a comment

    • @ericwills6227
      @ericwills6227 Год назад +1

      @@gilbster thanks I appreciate your help!

  • @thebinarybin
    @thebinarybin 6 месяцев назад

    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

    • @thebinarybin
      @thebinarybin 6 месяцев назад

      I don’t like just installing personally

  • @gayealisir5661
    @gayealisir5661 Год назад +2

    GO SEAHAWKS!