Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Filter and Sort Data | Section
Data Cleaning and Transformation with Data Frames in R - 1768563984993

bookChallenge: Filter and Sort Data

Task

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.

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 12
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

close

bookChallenge: Filter and Sort Data

Swipe to show menu

Task

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.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 12
single

single

some-alt