Challenge: 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
dfwhere thepassedcolumn isTRUE. - Sort the resulting rows in descending order based on the
scorecolumn. - Return the filtered and sorted data frame.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 12
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Großartig!
Completion Rate verbessert auf 5.56
Challenge: 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
dfwhere thepassedcolumn isTRUE. - Sort the resulting rows in descending order based on the
scorecolumn. - Return the filtered and sorted data frame.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 12
single