# Python Data Tool
A simple Python tool for handling **CSV** and **JSON** files.
This project demonstrates how to:
- Read CSV files
- Convert JSON → CSV
- Convert CSV → JSON
- Validate data
- Show quick summaries of CSV/JSON files
---
## 📂 Project Structure
├── calculator.py # Simple Python calculator (extra project) ├── data_tool.py # Main data handling tool ├── sample.csv # Sample CSV file ├── sample.json # Sample JSON file ├── output.csv # Converted CSV output └── README.md # Project documentation
---
## ⚡ Features
✅ CSV → JSON conversion
✅ JSON → CSV conversion
✅ Data summary (columns, rows, preview)
✅ Data validation
---
## ▶️ How to Run
1. Clone the repository:
```bash
git clone https://github.com/Kshitijavir/python-data-tool.git
cd python-data-tool
-
Run the tool:
python data_tool.py <command> <file>
python data_tool.py summary sample.csv
python data_tool.py convert-to-csv sample.json -o output.csv
python data_tool.py convert-to-json sample.csv -o output.json
- Python 3.x
- No external libraries (uses built-in Python modules)
Kshitij Javir 🔗 GitHub Profile
🚀 Now you can easily manage CSV/JSON files with this tool.
---
👉 Steps for you:
1. Copy this text.
2. Replace your existing **README.md** content with it.
3. Save the file.
4. Run:
```bash
git add README.md
git commit -m "Update README with project details"
git push