Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update merged gws #121

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

MaxvanderWerf
Copy link

Updated the merged_gw.csv files of 16/17, 17/18 and 19/20 by adding a position column.

What I did:

  • Player names are formatted (f.e. from 'Xherdan_Shaqiri_462' to 'Xherdan Shaqiri')
  • Player names are decoded (f.e. from André Schürrle to Andre Schurrle)
  • Players with less than 10 minutes played in the entire season are deleted from the dataset
  • Secondary FPL data is scraped from Statsbunker
  • Statsbunker data is cleaned to make sure the names are the same as in the original data
  • Statsbunker and original data is merged to add positions to original datasets
  • In the end every player's position is added to the dataset except for those with <10 min played (their position is NaN)

Attached you will find the jupyter notebook with
Update older datasets.pdf
the code.

Updated 'merged_gw1617.csv' with player positions
Updated 'merged_gw1718.csv' with player positions
Updated 'merged_gw1819.csv' with player positions
Updated 'merged_gw1920.csv' with player positions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant