You have sales data with columns: date, store_id, product, q…

You have sales data with columns: date, store_id, product, quantity, revenue. Explain how you would use Pandas to: (1) calculate total revenue per store, (2) find the top 5 best-selling products by quantity, and (3) create a new column showing revenue per unit.

A business analyst needs to analyze customer orders. The dat…

A business analyst needs to analyze customer orders. The data includes order_id, customer_id, order_date, product_category, and order_amount. Explain how you would use Pandas to: (1) find the total spending per customer, (2) identify the most popular product category, and (3) filter orders from the last 30 days. What Pandas methods would you use for each task?