Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What function is used to sort a DataFrame in Pandas?
Think about how you would list items in order.
How can you sort data in descending order?
What change do you need to make for the order?
What function would you use to sort values in a DataFrame?
It has 'values' in the function name.
True or False: Grouping data can only be done with numerical columns.
Think about what kind of data can be grouped together.
Given a dataset of employee performance ratings across different departments, demonstrate how to group data by department and retrieve the average score.
Think about which column represents the categories.
Create a DataFrame of sales data for various products and sort it first by sales amount and then by product type.
Recall how to combine multiple sorting criteria.
5 more questions in this section. Enroll free to practise them all.
Enroll free