Seção 1. Capítulo 16
single
Challenge: Detecting and Removing Duplicates
Deslize para mostrar o menu
Tarefa
Deslize para começar a programar
Identify duplicates, and remove all but the first occurrence.
- Create a function that takes a data frame as input.
- Detect all duplicate rows in the data frame, except for the first occurrence.
- Remove the duplicate rows, keeping only the first occurrence of each unique row.
- Return the cleaned data frame.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 16
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo