Task: Finding the Most Expensive Coffees
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
df
the drinks have been sorted from least to most expensive in terms of price, with the most expensive drink at the end.
Ratkaisu
Kiitos palautteestasi!
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Awesome!
Completion rate improved to 2.7
Task: Finding the Most Expensive Coffees
Pyyhkäise näyttääksesi valikon
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
df
the drinks have been sorted from least to most expensive in terms of price, with the most expensive drink at the end.
Ratkaisu
Kiitos palautteestasi!
Awesome!
Completion rate improved to 2.7single