Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Identify Top and Bottom Products | Automating Reports and Visual Insights
Python Automation for Reports and Visual Insights
セクション 1.  4
single

single

bookChallenge: Identify Top and Bottom Products

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

タスク

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

Given a DataFrame with product names and sales amounts, your goal is to analyze the sales data and clearly report which products performed best and worst.

  • Group the data by the product column and sum the sales values for each product.
  • Sort the products by their total sales in descending order.
  • Identify the top 2 products with the highest total sales.
  • Identify the bottom 2 products with the lowest total sales.
  • Print the top 2 and bottom 2 products in a clear format.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 1.  4
single

single

AIに質問する

expand

AIに質問する

ChatGPT

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

some-alt