Sectie 3. Hoofdstuk 4
single
Task: Finding the Most Expensive Coffees
Veeg om het menu te tonen
Taak
Swipe to start coding
Café Pandasia has now finalized its updated coffee menu!
Each drink has been assigned a price, and the manager wants to quickly spot the most expensive ones.
- Fetch the rows containing top three most expensive drinks and store them in a new variable called
most_expensive.
Note
In the DataFrame
dfthe drinks have been sorted from least to most expensive in terms of price, with the most expensive drink at the end.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 3. Hoofdstuk 4
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.