[GH-ISSUE #70] [SoFIFA] Scraper doesn't return the overall_rating correctly #13

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

Originally created by @BelkacemB on GitHub (Jul 27, 2022).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/70

How to reproduce:

import soccerdata as sd
sofifa = sd.SoFIFA(leagues="ENG-Premier League", seasons=2021)
ratings = sofifa.read_ratings()
ratings.to_csv("fifa_ratings.csv", index=False)

Notice that the "overall_rating" column is returning a text instead of a number

image

Originally created by @BelkacemB on GitHub (Jul 27, 2022). Original GitHub issue: https://github.com/probberechts/soccerdata/issues/70 How to reproduce: ``` import soccerdata as sd sofifa = sd.SoFIFA(leagues="ENG-Premier League", seasons=2021) ratings = sofifa.read_ratings() ratings.to_csv("fifa_ratings.csv", index=False) ``` Notice that the "overall_rating" column is returning a text instead of a number ![image](https://user-images.githubusercontent.com/4533833/181360748-3255b58b-c711-4cee-9b91-274d3e180228.png)
kerem 2026-03-02 15:55:01 +03:00
  • closed this issue
  • added the
    bug
    label
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#13
No description provided.