How to Scrape Data Using Pandas Tables

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

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

  • @wimsickle6173
    @wimsickle6173 3 месяца назад

    I attempted this and I get error "No such file or directory found: 'MLS Team Game Stats.csv'" This line is supposed to pull all the data from a csv on fbref right? What does the encoding part do. Where did you come up with that number and the name for the csv?
    Wim

    • @wageredontilt1649
      @wageredontilt1649  3 месяца назад

      The MLS file will contain urls that I want to loop through for the MLS data on fbref. You would need ne to create this file so that allow the scrapper to pull in the information. The encoding portion allows for unique characters to be properly handled by the Python script so it doesn't fail out if it see's a non-standard character in a name.

  • @-Tharos-
    @-Tharos- 7 месяцев назад

    Pandas is nice for scraping HTML tables.

    • @wageredontilt1649
      @wageredontilt1649  7 месяцев назад

      Yeah, I love using it. Goes so much faster now