Closed mvantschip closed 1 month ago
The docs are outdated. When no leagues are given, it returns the data for all the supported leagues. Previously, only the Big 5 leagues were supported but I've added support for the World Cups and Euros since.
I see! Thanks. Any idea about the duplicate rows? Or should I make a separate issue for that?
I am fetching player data for the 2023 season, which by default, according to the docs, should only return data from the top 5 leagues. However, I noticed that stats from the Women's World Cup are included as well. I can reproduce this issue with the following code:
Output:
In addition, I get a dataframe where each row occurs twice, but I am not sure if that problem is related. See, from the same code, the output of
stats.head()
:Output:
Thanks for the wonderful work!