セクション 1. 章 2
single
Challenge: Generate Regional Sales Report
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Create a function that generates a summary of total sales for each region from a sample sales dataset.
- Create a pandas DataFrame with columns "region" and "sales", using at least three unique region values and several sales amounts.
- Group the DataFrame by the "region" column.
- Calculate the total sales for each region.
- Print the resulting summary table.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 2
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください