Sezione 1. Capitolo 20
single
Challenge: Sorting and Ordering
Scorri per mostrare il menu
Compito
Scorri per iniziare a programmare
Sort a data frame by multiple columns and explain the result.
- The function must return a new data frame sorted first by the
Departmentcolumn in ascending order, and then by theSalarycolumn in ascending order within each department. - The function must not modify the original data frame.
- The function must work for any data frame with at least the columns
DepartmentandSalary.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 20
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione