Box plots
📖 Scenario: You work as a data analyst for a small company. You have collected sales data for different products over several months. You want to understand the spread and distribution of sales numbers to find out if there are any unusual values or differences between products.
🎯 Goal: Build a simple program that creates a box plot to visualize the sales data for different products using pandas.
📋 What You'll Learn
Create a pandas DataFrame with sales data for three products over five months.
Set a configuration variable for the column names to plot.
Use pandas box plot function to create the box plot for the selected products.
Print the box plot object to confirm the plot was created.
💡 Why This Matters
🌍 Real World
Box plots help analysts quickly see the distribution, spread, and outliers in sales or other numeric data, which is useful for business decisions.
💼 Career
Data analysts and scientists often use box plots to summarize data distributions and detect unusual values before deeper analysis.
Progress0 / 4 steps