Task: Preview the Coffee Menu
Завдання
Swipe to start coding
At Café Pandasia, the menu has grown quite large with many coffee drinks now listed.
Before pricing the entire menu, the manager wants to quickly preview just the first few items to ensure everything looks correct.
- Use the
head()
method to fetch the first 4 rows ofdf
and store them in a new variable calledresult
.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 2