Seção 1. Capítulo 10
single
Challenge: Tidying Data with tidyr
Deslize para mostrar o menu
Tarefa
Deslize para começar a programar
In this challenge, you will practice reshaping and tidying a dataset using tidyr functions. You will convert the dataset to long format with pivot_longer(), and then split a combined column into two separate columns using separate().
- Use
pivot_longer()to convert the score columns into a long format, creating a column namedsubject_yearand a column namedscore. - Use
separate()to split thesubject_yearcolumn into two columns:subjectandyear.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 10
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo