Contenu du cours
Analyzing FIFA-17 players data with pandas
Analyzing FIFA-17 players data with pandas
Importing libraries and dataFirst data explorationIs everything ok with height column?Correcting and converting height columnAverage height and player roleNational teams playersClubs and national teams representationWhich club has the best players?How many players are in each club?Which club has the best 11?
Correcting and converting height column
So, as you can see, each height has ' cm' in the end, which makes this column non-numeric. Read the instruction how you can handle with this.
Tâche
Swipe to start coding
- Remove
' cm'
in each observation in Height column and convert it toint
type. - Print first 10 observations to check correctness.
Solution
Mark tasks as Completed
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 4
AVAILABLE TO ULTIMATE ONLY