Skip to main content

Query dataframes, find issue with your notebook snippets as if a professional data scientist was pair coding with you

Project description

Date a Scientist

Query dataframes, find issue with your notebook snippets as if a professional data scientist was pair coding with you.

Currently just a thin wrapper around an amazing library called pandas-ai by sinaptik-ai!

How to use it?

from date_a_scientist import DateAScientist
import pandas as pd

df = pd.DataFrame(
    [
        {"name": "Alice", "age": 25, "city": "New York"},
        {"name": "Bob", "age": 30, "city": "Los Angeles"},
        {"name": "Charlie", "age": 35, "city": "Chicago"},
    ]
)
ds = DateAScientist(
    df=df,
    llm_openai_api_token=self.openai_api_token,
)

# should return "Alice"
ds.chat("What is the name of the first person?")

Inspirations

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

date_a_scientist-0.1.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

date_a_scientist-0.1.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file date_a_scientist-0.1.1.tar.gz.

File metadata

  • Download URL: date_a_scientist-0.1.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.3 Darwin/23.4.0

File hashes

Hashes for date_a_scientist-0.1.1.tar.gz
Algorithm Hash digest
SHA256 946544ae9744da29d7740cb378f6dc4252c305a5e00d76ca104f0f062e14c705
MD5 d87ca6ec1f889f2333c892f61012e86a
BLAKE2b-256 5bdc57061c69d1b1a768d8ec4ce616802122f4937f1868a3519da5c56112cb7c

See more details on using hashes here.

File details

Details for the file date_a_scientist-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: date_a_scientist-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.3 Darwin/23.4.0

File hashes

Hashes for date_a_scientist-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a93dae753e118def963281e4196e4d0bb327ff43e2ab2bab1dc82af6f165e76
MD5 33f728088311fc7a7f224d4dc3aa37a7
BLAKE2b-256 98f32cd8776b59e3719f81f78a489adce5b87a81e542ce13245d0b805c19edc0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page