Power up your data science workflow with ChatGPT
Project description
pandas-gpt 
Power up your data science workflow with ChatGPT.
Installation
pip install git+https://github.com/rvanasa/pandas-gpt
Set the OPENAI_API_KEY environment variable to your OpenAI API key, or use the following code snippet:
import openai
openai.api_key = 'sk-**********'
Examples
Setup and usage examples are available in this Google Colab notebook.
import pandas as pd
import pandas_gpt
df = pd.DataFrame(...)
# Run Python code generated by ChatGPT
df.ask('do something with the dataset')
# Show additional output
df.ask('do something with the dataset', verbose=True)
# Print source code instead of running
df.ask.code('do something with the dataset')
Alternatives
- 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 ChatGPT also apply to this library. I would recommend using pandas-gpt in a sandboxed environment such as Google Colab, Kaggle, or GitPod.
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 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 pandas-gpt-0.1.0.tar.gz.
File metadata
- Download URL: pandas-gpt-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e839a4c0cc64bdb584b130ba9e3afe557a00e22d9de4d8986ac91ac4bb27f7a2
|
|
| MD5 |
2f7a05566aac68c5b6c7127d8c18fc4a
|
|
| BLAKE2b-256 |
a7927efa71f5ca5682e00b2554ba79a15f1ac58043899b3ae4bfda464b2285b8
|
File details
Details for the file pandas_gpt-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pandas_gpt-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e2aee040fc642e6116b0b60d4b1c10f4574895d582697fa925aadfb14269b80
|
|
| MD5 |
295d675286cd71c9132d3806ffee5db5
|
|
| BLAKE2b-256 |
bc2c83c6c97b07b38058ff2a96ade960d2b0c6fa072ff05303ce469965876c4a
|