-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
32 lines (24 loc) · 904 Bytes
/
Copy pathmain.py
File metadata and controls
32 lines (24 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import sys
import os
# Add src folder to path
sys.path.append(os.path.join(os.path.dirname(__file__), 'src'))
from data_cleaner import load_and_clean_data
from analysis import analyze_data
from visualization import create_visualizations
def main():
print("🚀 SALES DATA ANALYSIS PIPELINE")
print("=" * 50)
# Step 1: Load and Clean Data
print("\nStep 1: Loading & Cleaning Data...")
df = load_and_clean_data('data/raw_sales_data.csv')
# Step 2: Analyze Data
print("\nStep 2: Running Analysis...")
analysis_results = analyze_data(df)
# Step 3: Create Visualizations
print("\nStep 3: Creating Visualizations...")
create_visualizations(df)
print("\n" + "=" * 50)
print("✅ ANALYSIS COMPLETE!")
print("📁 Check 'outputs/' folder for reports and charts")
if __name__ == "__main__":
main()