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.
Tarefa
Swipe to start coding
- Remove
' cm'
in each observation in Height column and convert it toint
type. - Print first 10 observations to check correctness.
Solução
Mark tasks as Completed
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 4
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
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.
Tarefa
Swipe to start coding
- Remove
' cm'
in each observation in Height column and convert it toint
type. - Print first 10 observations to check correctness.
Solução
Mark tasks as Completed
Tudo estava claro?
Obrigado pelo seu feedback!
Awesome!
Completion rate improved to 10Seção 1. Capítulo 4
single