Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen 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.

Aufgabe

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.

Lösung

Mark tasks as Completed
Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 4
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

Awesome!

Completion rate improved to 10

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.

Aufgabe

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.

Lösung

Mark tasks as Completed
Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

close

Awesome!

Completion rate improved to 10
some-alt