From e92eb00feb66b8d3737cc12a90edef3deb1e82ab Mon Sep 17 00:00:00 2001 From: Edoardo Abati <29585319+EdAbati@users.noreply.github.com> Date: Fri, 11 Apr 2025 09:54:30 +0200 Subject: [PATCH] added pandas feature --- README.md | 4 ++-- pyproject.toml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6d74f1f..985bf20 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,8 @@ The library offers various custom [Converters](https://docs.haystack.deepset.ai/ ## 🛠️ Installation ```sh -# for pandas (pandas is already included in `haystack-ai`) -pip install dataframes-haystack +# for pandas +pip install "dataframes-haystack[pandas]" # for polars pip install "dataframes-haystack[polars]" diff --git a/pyproject.toml b/pyproject.toml index f87ea03..0edadb1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,7 @@ dependencies = [ "typing_extensions", ] [project.optional-dependencies] +pandas = ["pandas>=1.0.0"] polars = ["polars>=0.18.0"] [project.urls] @@ -57,7 +58,7 @@ dependencies = [ "coverage[toml]>=6.5", "pytest", ] -features = ["polars"] +features = ["pandas", "polars"] python = "3.8" # This is the minimum supported version [tool.hatch.envs.default.scripts]