mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 18:15:58 +03:00
[PR #306] [MERGED] [FBref] Handle teammates with identical name #448
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#448
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?
📋 Pull Request Information
Original PR: https://github.com/probberechts/soccerdata/pull/306
Author: @probberechts
Created: 7/25/2023
Status: ✅ Merged
Merged: 7/25/2023
Merged by: @probberechts
Base:
master← Head:fbref-fix-lineup-duplicates📝 Commits (2)
c69c7d9[FBref] Handle teammates with identical name8bc86c9Linting📊 Changes
1 file changed (+9 additions, -3 deletions)
View changed files
📝
soccerdata/fbref.py(+9 -3)📄 Description
When two players in the same team have identical names, the output of the read_lineups function would return duplicates. This is fixed by using the jersey number as an additional merge key.
Fixes #305
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.