Code Prompt Generator
for Python, SQL and PHP

This tool generates prompts for Pandas library in Python, PHP or SQL from natural language queries. It can be used to filter dataframes, PHP arrays, CSV or Excel files, SQL tables, etc.

It transforms a user query into code by telling the GPT about the data structure, the query and desired output.

This example assume the table name is "table" and the columns are: firstname, surname, mail, gender, age, phone


firstname is fred and surname is feuerstein
age is greater 42
mail contains no @
show all rows
count rows
all with firstname starting with f, age>29 and mail is not empty