mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 10:05:53 +03:00
[GH-ISSUE #576] [FBRef] read_player_season_stats includes Women's World Cup by default (season 2023) #105
Labels
No labels
ESPN
FBref
FotMob
MatchHistory
SoFIFA
Sofascore
WhoScored
WhoScored
bug
build
common
dependencies
discussion
documentation
duplicate
enhancement
good first issue
invalid
performance
pull-request
question
question
removal
understat
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/soccerdata#105
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mvantschip on GitHub (May 12, 2024).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/576
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!
@probberechts commented on GitHub (May 13, 2024):
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.
@mvantschip commented on GitHub (May 14, 2024):
I see! Thanks. Any idea about the duplicate rows? Or should I make a separate issue for that?