OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Developer Tools & SDKs

Pandas Gpt

Pandas Gpt is a Python library that uses configurable language-model completers to query, transform and plot pandas DataFrames through natural-language requests.

Independent OpenViST project profile, based on linked sources.

Pandas Gpt — OpenViST project profile in AI Developer Tools & SDKs.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it in a Python or notebook workflow when you already have a pandas DataFrame and want to request queries, transformations or plots in natural language.

Who it is for

  • Python developers and data scientists working with pandas DataFrames.
  • Notebook users who want to express tabular queries or transformations in natural language.

Documented uses

  • Ask questions about tabular data and receive results, including tables.
  • Request DataFrame transformations such as filtering rows or adding a categorized column.
  • Generate plots from a DataFrame using natural-language instructions.
  • Select a documented model integration or connect a custom code-generation completer.
Before you choose

Requirements & limits

  • The primary workflow requires Python, pandas and a configured language-model completer.
  • The README documents OpenAI, LiteLLM integrations including Gemini and Hugging Face model identifiers, OpenRouter, Azure OpenAI and a custom completer interface.
  • The verbose option can show generated source code before it runs; the mutable option allows changes to the original dataset.
  • The repository identifies the project as MIT-licensed and public.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install and configure pandas-gpt with OpenAI

Prepare the library to make DataFrame requests through the documented OpenAI completer.

Before you start

  • Python environment with pandas
  • OpenAI API key

Steps

  1. Install the OpenAI extra with the command below.

    Documented command
    pip install pandas-gpt[openai]
  2. Set the OPENAI_API_KEY environment variable or configure the key in Python.

  3. Import pandas-gpt and configure or use the documented OpenAI completer.

Expected outcome

The library is set up to use an OpenAI language model for pandas-gpt requests.

Guide limitations

  • An OpenAI API key is needed for the documented OpenAI setup.
  • The README cautions that ChatGPT limitations apply and recommends a sandboxed environment.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
17 October 2026
Original website title
rvanasa/pandas-gpt · Official homepage title · retained in its source language