Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Correcting and converting height column | Analyzing FIFA-17 players data with pandas
Analyzing FIFA-17 players data with pandas
course content

Contenido del Curso

Analyzing FIFA-17 players data with pandas

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.

Tarea

  1. Remove ' cm' in each observation in Height column and convert it to int type.
  2. Print first 10 observations to check correctness.

Tarea

  1. Remove ' cm' in each observation in Height column and convert it to int type.
  2. Print first 10 observations to check correctness.

Mark tasks as Completed
Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

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.

Tarea

  1. Remove ' cm' in each observation in Height column and convert it to int type.
  2. Print first 10 observations to check correctness.

Mark tasks as Completed
Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
Sección 1. Capítulo 4
AVAILABLE TO ULTIMATE ONLY
We're sorry to hear that something went wrong. What happened?
some-alt