Add Data Sources
Learn how to ingest data from various sources in PandaAI
Release v3 is currently in beta. This documentation reflects the features and functionality in progress and may change before the final release.
What type of data does PandaAI support?
PandaAI mission is to make data analysis and manipulation more efficient and accessible to everyone. You can work with data in various ways:
- CSV and Excel Files: Load data directly from files using simple Python functions
- SQL Databases: Connect to various SQL databases using our extensions
- Cloud Data: Work with enterprise-scale data using our specialized extensions (requires Enterprise License)
Let’s start with the basics of loading CSV files, and then we’ll explore the different extensions available.
How to work with CSV files in PandaAI?
Loading data from CSV files is straightforward with PandaAI:
How to work with SQL in PandaAI?
PandaAI provides a sql extension for you to work with SQL, PostgreSQL, MySQL, SQLite databases.
To make the library lightweight and easy to use, the basic installation of the library does not include this extension.
It can be easily installed using either poetry
or pip
.
Once you have installed the extension, you can use it to connect to SQL databases.
PostgreSQL
MySQL
SQLite
How to work with Enterprise Cloud Data in PandaAI?
PandaAI provides Enterprise Edition extensions for connecting to cloud data. These extensions require an Enterprise License or Data Platform team plan. Once you have installed a enterprise cloud data extension, you can use it to connect to your cloud data.
Snowflake extension (ee)
First, install the extension:
Then use it:
Databricks extension (ee)
First, install the extension:
Then use it:
BigQuery extension (ee)
First, install the extension:
Then use it:
Oracle extension (ee)
First, install the extension:
Then use it:
Yahoo Finance extension
First, install the extension:
Then use it:
All data extensions
extension | install with poetry | install with pip | need ee license? |
---|---|---|---|
pandasai_sql | poetry add pandasai-sql | pip install pandasai-sql | No |
pandasai_yfinance | poetry add pandasai-yfinance | pip install pandasai-yfinance | No |
pandasai_snowflake | poetry add pandasai-snowflake | pip install pandasai-snowflake | Yes |
pandasai_databricks | poetry add pandasai-databricks | pip install pandasai-databricks | Yes |
pandasai_bigquery | poetry add pandasai-bigquery | pip install pandasai-bigquery | Yes |
pandasai_oracle | poetry add pandasai-oracle | pip install pandasai-oracle | Yes |
Was this page helpful?