Challenge: Filter and Sort Data
Tâche
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
dfwhere thepassedcolumn isTRUE. - Sort the resulting rows in descending order based on the
scorecolumn. - Return the filtered and sorted data frame.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 6
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 5.56
Challenge: Filter and Sort Data
Glissez pour afficher le menu
Tâche
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
dfwhere thepassedcolumn isTRUE. - Sort the resulting rows in descending order based on the
scorecolumn. - Return the filtered and sorted data frame.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 6
single