Task: Preview the Coffee Menu
Tarefa
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
.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 2