Kursinhalt
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.
Aufgabe
Swipe to start coding
- Remove
' cm'
in each observation in Height column and convert it toint
type. - Print first 10 observations to check correctness.
Lösung
Mark tasks as Completed
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 4
AVAILABLE TO ULTIMATE ONLY