Course Content
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.
Task
- Remove
' cm'
in each observation in Height column and convert it toint
type. - Print first 10 observations to check correctness.
Mark tasks as Completed
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
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.
Task
- Remove
' cm'
in each observation in Height column and convert it toint
type. - Print first 10 observations to check correctness.
Mark tasks as Completed
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 4
AVAILABLE TO ULTIMATE ONLY