Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Task: Finding Total Sales Per Drink | Basics of Dataframes
Pandas: First Steps
course content

Зміст курсу

Pandas: First Steps

Pandas: First Steps

1. Getting Started
2. Basics of Dataframes

book
Task: Finding Total Sales Per Drink

Завдання

Swipe to start coding

At Café Pandasia, the manager wants to track the total sales for each coffee drink

You’ve been given a DataFrame that tracks the sales of three drinks across three days (Monday to Wednesday), and now you need to add a new column called Total Sales to the DataFrame.

  • Add a new column called Total Sales to df.
  • Total Sales should contain the sum of the sales from Monday to Wednesday for each drink.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 6
toggle bottom row

book
Task: Finding Total Sales Per Drink

Завдання

Swipe to start coding

At Café Pandasia, the manager wants to track the total sales for each coffee drink

You’ve been given a DataFrame that tracks the sales of three drinks across three days (Monday to Wednesday), and now you need to add a new column called Total Sales to the DataFrame.

  • Add a new column called Total Sales to df.
  • Total Sales should contain the sum of the sales from Monday to Wednesday for each drink.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 6
Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Ми дуже хвилюємося, що щось пішло не так. Що трапилося?
some-alt