parth1902 / Scrape-FBref-data

To scrape data from fbref.com provided by StatsBomb
115 stars 44 forks source link

Player Table located in index #2 #3

Closed a00822504 closed 2 years ago

a00822504 commented 3 years ago

Hello Mr. Parth 1902,

First of all thank you for this great peace of code, really helpful.

I noticed that when scrapping the data, your players table is "player_table = all_tables[1]".

I noticed that the output of this table is the Opponent Stats table from FBref and not the players' table. The quick and easy fix would be:

player_table = all_tables[2].

Hope this helps.

Cheers

QuantQB8 commented 2 years ago

Yes!

parth1902 commented 2 years ago

Made the changes! Added a link to a colab notebook as well, please refer to it if needed.