Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Task: Randomly Select Customer Orders for Quality Check | Fetching Data from DataFrames
Pandas: First Steps

Scorri per mostrare il menu

book
Task: Randomly Select Customer Orders for Quality Check

Compito

Swipe to start coding

The Café has announced a special prize draw! Three lucky customers will win a free coupon for their next coffee order.

The café has collected data from 20 customers who made purchases that day, and they now want to randomly select 3 winners for the draw.

  • Randomly select 3 orders from the DataFrame df and store the result in a new variable called winners.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 3. Capitolo 6
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?

Chieda ad AI

expand
ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

book
Task: Randomly Select Customer Orders for Quality Check

Compito

Swipe to start coding

The Café has announced a special prize draw! Three lucky customers will win a free coupon for their next coffee order.

The café has collected data from 20 customers who made purchases that day, and they now want to randomly select 3 winners for the draw.

  • Randomly select 3 orders from the DataFrame df and store the result in a new variable called winners.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 3. Capitolo 6
Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?
some-alt