Skip to content

Generating and running panda queries on the fly with AI.

Notifications You must be signed in to change notification settings

CUNYTechPrep/auto-pandas-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README.md

Titanic Q&A Streamlit App

A simple Streamlit app that lets you ask natural‑language questions of the Titanic dataset.
Under the hood it uses OpenAI to generate a small pandas query, runs it, and displays the answer.


1. Clone or download this repo

Make sure you have these files in your project:

  • app.py - The main Streamlit application
  • requirements.txt - Required Python packages
  • data/titanic.csv - The Titanic dataset
  • .env - Your environment variables (see below)

2. Create and activate a virtual environment

# Windows (PowerShell)
python -m venv venv
venv\Scripts\Activate.ps1


# macOS / Linux
python3 -m venv venv
source venv/bin/activate


pip install --upgrade pip
pip install -r requirements.txt

streamlit run app.py

About

Generating and running panda queries on the fly with AI.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages