[GH-ISSUE #305] [FBref] Handle identically named players in read_lineups #60

Closed
opened 2026-03-02 15:55:24 +03:00 by kerem · 0 comments
Owner

Originally created by @mhd0528 on GitHub (Jul 25, 2023).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/305

Hi,

I notice there can be duplicates when checking lineups for games in FBref when there are teammates with the same name.
e.g. game_id = f3686357, there are two Paulinho in the team. And when I try to get the lineup, there are 4 Paulinho (2 for each) in the lineup data frame.

It's easy to fix by adding a drop_duplicates() after getting the DF. Just want to bring it up so that maybe it can be fixed inside the package.

Originally created by @mhd0528 on GitHub (Jul 25, 2023). Original GitHub issue: https://github.com/probberechts/soccerdata/issues/305 Hi, I notice there can be duplicates when checking lineups for games in FBref when there are teammates with the same name. e.g. game_id = f3686357, there are two Paulinho in the team. And when I try to get the lineup, there are 4 Paulinho (2 for each) in the lineup data frame. It's easy to fix by adding a drop_duplicates() after getting the DF. Just want to bring it up so that maybe it can be fixed inside the package.
kerem 2026-03-02 15:55:24 +03:00
  • closed this issue
  • added the
    bug
    FBref
    labels
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/soccerdata#60
No description provided.