Challenge: Filter and Sort Data
Uppgift
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ösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 6
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Suggested prompts:
Can you explain this in simpler terms?
What are some examples related to this topic?
Where can I learn more about this?
Fantastiskt!
Completion betyg förbättrat till 5.56
Challenge: Filter and Sort Data
Svep för att visa menyn
Uppgift
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ösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 6
single