Solution Review: Exploring E-Commerce
This lesson provides solutions to the exercise on exploring E-Commerce Dataset in previous lesson.
We'll cover the following...
We'll cover the following...
1. Top customers with the highest number of orders
We do this task in three steps:
- First, we group our data with
CustomerIDand callsizeto retrieve the number of times eachCustomerIDappeared in the data in line 5. - Second, we sort the values in descending order using
sort_valuesin line 6.