Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Task: Coffee Orders Series | Getting Started
Pandas: First Steps

bookTask: Coffee Orders Series

Tehtävä

Swipe to start coding

Welcome to Café Pandasia! You've just been hired as a data assistant, and your first job is to organize today’s coffee orders into a format that's easier to analyze.

The barista quickly scribbled the coffee orders on a napkin as a plain list. Your mission is to turn this list into a Pandas Series so the café can keep track of which drinks are most popular.

  • Import the Pandas library.
  • Create a Pandas Series from the orders list.
  • Store the Series into a new variable orders_series.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 3
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

Suggested prompts:

Tiivistä tämä luku

Explain code

Explain why doesn't solve task

close

Awesome!

Completion rate improved to 2.7

bookTask: Coffee Orders Series

Pyyhkäise näyttääksesi valikon

Tehtävä

Swipe to start coding

Welcome to Café Pandasia! You've just been hired as a data assistant, and your first job is to organize today’s coffee orders into a format that's easier to analyze.

The barista quickly scribbled the coffee orders on a napkin as a plain list. Your mission is to turn this list into a Pandas Series so the café can keep track of which drinks are most popular.

  • Import the Pandas library.
  • Create a Pandas Series from the orders list.
  • Store the Series into a new variable orders_series.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 3
single

single

some-alt