datasloth-0.4
توضیحات
Natural language Pandas queries and data generation
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | datasloth-0.4 |
| نام | datasloth |
| نسخه کتابخانه | 0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ivan Bestvina |
| ایمیل نویسنده | ivan.bestvina@gmail.com |
| آدرس صفحه اصلی | http://github.com/ibestvina/datasloth |
| آدرس اینترنتی | https://pypi.org/project/datasloth/ |
| مجوز | MIT |
DataSloth
=========
*Natural language Pandas queries and data generation powered by GPT-3*
Installation
------------
``pip install datasloth``
Usage
-----
In order for DataSloth to work, you must have a working `OpenAI API
key <https://beta.openai.com/account/api-keys>`__ set in your
environment variable, or provide it to the DataSloth object. For more
info, refer to this
`guide <https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety>`__.
DataSloth automatically discovers all Pandas dataframes in your
namespace (filtering out names starting with an underscode). Before you
load any data, import DataSloth and create the ``sloth``:
.. code:: python
from datasloth import DataSloth
sloth = DataSloth()
Next, load any data you want to use. Try naming your dataframes and
columns in a meaningful way, as DataSloth uses these names to understand
what the data is about.
Once your data is loaded, simply run
``sloth.query('...')``
to query the data.
نحوه نصب
نصب پکیج whl datasloth-0.4:
pip install datasloth-0.4.whl
نصب پکیج tar.gz datasloth-0.4:
pip install datasloth-0.4.tar.gz