Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Detecting and Removing Duplicates | Data Cleaning and Wrangling Essentials
Практика
Проекти
Вікторини та виклики
Вікторини
Виклики
/
Data Cleaning and Wrangling in R
Секція 1. Розділ 16
single

single

bookChallenge: Detecting and Removing Duplicates

Свайпніть щоб показати меню

Завдання

Проведіть, щоб почати кодувати

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.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 16
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

some-alt