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
Swipe to start coding
- Remove
' cm'
in each observation in Height column and convert it toint
type. - Print first 10 observations to check correctness.
Solution
Mark tasks as Completed
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 4
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 10
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
Swipe to start coding
- Remove
' cm'
in each observation in Height column and convert it toint
type. - Print first 10 observations to check correctness.
Solution
Mark tasks as Completed
Everything was clear?
Thanks for your feedback!
Awesome!
Completion rate improved to 10SectionΒ 1. ChapterΒ 4
single