Supercharge your data science workflows with Ollama models
Project description
SMART_PANDAS 🤖 
Supercharge your data science workflows with 🐐 Ollama models.
smart-pandas is a Python library highly inspired by the pandas-gpt, to perform the diverse operations on a pandas DataFrame using llama 2 model.
Installation
First install the ollama from 🐐ollama. Ollama is required and need to be installed must.
pip install smart-pandas
Examples
import pandas as pd
import smart_pandas
df = pd.DataFrame('https://raw.githubusercontent.com/owid/covid-19-data/master/scripts/input/un/handwashing_facilities.csv')
# Data transformation
df = df.ask('Remove iso_code')
# Queries
top_10 = df.ask('what are the top 10 most locations having handwashing_facilities, as a table')
# Plotting
top_10=top_10.ask("Reset index")
top_10.ask('horizontal bar plot, seaborn colors with width 700')
Aurthor
Muntakimur Rahaman
Senior Data Scientist,
Innova-analytics.ai
Contact: muntakim.cse@gmail.com
Alternatives
- pandas-gpt: OpenAI based pandas auto-completion (Paid api key)
- GitHub Copilot: General-purpose code completion (paid subscription)
- Sketch: AI-powered data summarization and code suggestions (works without an API key)
Disclaimer
Please note that the limitations of llama 2 also apply to this library. I would recommend using smart-pandas in a sandboxed environment such as Google Colab, Kaggle, or GitPod.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smart_pandas-0.0.16.tar.gz.
File metadata
- Download URL: smart_pandas-0.0.16.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8455fda2ce5bee133123c13112b090ab6c5592603c1dd5d95c2da603e21278d9
|
|
| MD5 |
d72804e4f00d2c84a9616892d895918e
|
|
| BLAKE2b-256 |
049b8b79d7d8818c59f119ed902f62c5321882b288ef500405b9c76e2a2cf6a6
|
File details
Details for the file smart_pandas-0.0.16-py3-none-any.whl.
File metadata
- Download URL: smart_pandas-0.0.16-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bf167f0e9b81809ae1bd1b1b3226173cde2515441b23f5fa59e1a9ac53a071e
|
|
| MD5 |
704120d3ab2f7a93b029400c5988c7d0
|
|
| BLAKE2b-256 |
ae6703680f098cf1af20805c6a999d0cb850df2296343ed418e0c1a4ef6127a1
|