Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Filter and Sort Data | Section
Practice
Projects
Quizzes & Challenges
Quizze
Challenges
/
Data Cleaning and Transformation with Data Frames in R - 1768563984993

bookChallenge: Filter and Sort Data

Aufgabe

Swipe to start coding

Filter a data frame to show only students who passed, and sort the results by their scores.

  • Select only the rows in df where the passed column is TRUE.
  • Sort the resulting rows in descending order based on the score column.
  • Return the filtered and sorted data frame.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 12
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

bookChallenge: Filter and Sort Data

Swipe um das Menü anzuzeigen

Aufgabe

Swipe to start coding

Filter a data frame to show only students who passed, and sort the results by their scores.

  • Select only the rows in df where the passed column is TRUE.
  • Sort the resulting rows in descending order based on the score column.
  • Return the filtered and sorted data frame.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 12
single

single

some-alt