An AI-powered Data Analyst built with Streamlit + Gemini API that allows users to upload CSV/Excel files and ask questions in natural language.
Instead of manually exploring datasets, users can upload data and get instant AI-generated insights, summaries, comparisons, and statistics.
- Upload CSV / Excel datasets
- Ask questions in plain English
- AI-powered analysis using Gemini
- Automatic dataset preview
- Column & datatype detection
- Summary statistics generation
- Smart query suggestions
- Interactive sidebar UI
- Modern custom-themed dashboard
- Error handling and timeout protection
- Python
- Streamlit
- Gemini API
- Pandas
- HTML/CSS
AI-Data-Analyst/
│
├── ai_data_analyst.py
├── requirements.txt
├── README.md
├── sample_dataset.csv
└── assets/
Clone repository:
git clone https://github.com/DishantBhere/AI-Data-Analyst.gitMove into project:
cd AI-Data-AnalystInstall dependencies:
pip install -r requirements.txtRun application:
streamlit run ai_data_analyst.py- Visit: https://aistudio.google.com
- Generate Gemini API Key
- Paste key into sidebar
- Upload dataset and start asking questions
- Which category has the highest average price?
- Show out-of-stock products
- Top 5 brands by product count
- What is the average product price?
- Summarise this dataset
- Data visualization charts
- Downloadable reports
- Multi-file analysis
- Export results as PDF
- Advanced filtering