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
セクション 2.  6
single

single

bookTask: Finding Total Sales Per Drink

メニューを表示するにはスワイプしてください

タスク

スワイプしてコーディングを開始

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
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt