Natural Language Query Engine for Pandas
Project description
Natural Language Query Engine for Pandas
AskEdith is a data analytics question-answering system that can help you speed up your data analytics workflows. AskEdith converts your natural language questions into SQL queries that are used to return a computed DataFrame.
How It Works
- ETL / Ingress - AskEdith ingresses data and parses schema and metadata.
- Semantic Search to relate relevant sections of data to the question.
- NLP Language Model to convert natural language to SQL.
- Execute on input DataFrame and return results.
Installation
pip install askedith
Usage
import pandas as pd
import askedith
# Load Avocados Data (https://figshare.com/articles/dataset/avocado_csv/17696882)
df = pd.read_csv("https://figshare.com/ndownloader/files/35259799")
# Use AskEdith
df = df.askedith.ask("What's the average price for organic avocados?")
print(df)
Examples
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for askedith-0.4.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3bd50ab5c19ec0724c3b4cbb0c0ee85d517b82d00abd714e9b94c9756decebc |
|
MD5 | 0dc7d9ab0409b8e7f399802622db500c |
|
BLAKE2b-256 | 3544f1d86e1adb33f3ead94828734bdfcb970d69a2b4fd106cc4331369ab5d6e |