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

book
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.

Taak

Swipe to start coding

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

Oplossing

Mark tasks as Completed
Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 4

Vraag AI

expand
ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

book
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.

Taak

Swipe to start coding

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

Oplossing

Mark tasks as Completed
Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 4
Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Onze excuses dat er iets mis is gegaan. Wat is er gebeurd?
some-alt