This project processes and analyzes CSV files using Python, simulating real-world data analysis tasks.
✅ Features:
- Accepts a CSV file as input.
- Displays dataset summary (rows, columns, column names, data types).
- Provides numeric column statistics (mean, median, min, max, std deviation).
- Handles missing values (identifies & fills/drops them).
- Python 3.x
- pandas
- argparse
- Install dependencies:
pip install pandas
- Run the script with a CSV file: python csv_analyzer.py sample_data.csv
📈 What I Learned
Using pandas for data analysis.
Handling missing values in datasets.
Implementing command-line arguments with argparse.
📂 File Structure
📦 csv_analyzer
┣ 📜 csv_analyzer.py # Main script
┣ 📜 README.md # Documentation
┣ 📜 sample_data.csv # Example dataset