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

Deslize para mostrar o menu

book
Task: Randomly Select Customer Orders for Quality Check

Tarefa

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.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 6

Pergunte à IA

expand
ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

book
Task: Randomly Select Customer Orders for Quality Check

Tarefa

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.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 6
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Sentimos muito que algo saiu errado. O que aconteceu?
some-alt