Skip to content

Comments

Update merged gws#121

Open
MaxvanderWerf wants to merge 4 commits intovaastav:masterfrom
MaxvanderWerf:Update-merged_gws
Open

Update merged gws#121
MaxvanderWerf wants to merge 4 commits intovaastav:masterfrom
MaxvanderWerf:Update-merged_gws

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