Key Features
Natural Language Queries
Ask questions like a human — PandasAI figures out the code:
- "Show me monthly revenue trends"
- "Which product category has the highest margin?"
- "Create a scatter plot of price vs. sales"
Auto-Visualization
Generates Matplotlib/Plotly charts automatically when the answer is visual.
Multi-Source
Connect to DataFrames, SQL databases, CSV files, Parquet, and data lakes in one conversation.
Code Transparency
See the generated Python/SQL code before execution. Learn and verify.
Data Privacy
Self-hosted — your data never leaves your infrastructure. No data sent to LLM providers (only schema + question).
Sandbox Execution
Generated code runs in a sandboxed environment for safety.
FAQ
Q: What is PandasAI? A: A conversational data analysis tool. Ask questions about databases, CSVs, and DataFrames in natural language. Auto-generates code and visualizations. 23K+ stars.
Q: Does PandasAI send my data to OpenAI? A: No, only the schema and your question are sent to the LLM. Actual data stays local. You can also use local models via Ollama.