Descriptive statistics (describe)
📖 Scenario: You work as a data analyst for a small online store. You have collected daily sales data for a week. You want to understand the basic statistics of these sales numbers to see how the store is performing.
🎯 Goal: Build a small program that uses the scipy.stats.describe function to get descriptive statistics of daily sales data.
📋 What You'll Learn
Create a list called
daily_sales with exact sales numbers for 7 daysImport the
describe function from scipy.statsUse
describe on the daily_sales list to get statisticsPrint the result of the
describe function💡 Why This Matters
🌍 Real World
Descriptive statistics help businesses quickly understand their data, like sales trends or customer behavior.
💼 Career
Data analysts and scientists use descriptive statistics as the first step to explore and summarize data before deeper analysis.
Progress0 / 4 steps