From 7d6c7ca2dce60c30b3c5e0107f9a496a17cb9695 Mon Sep 17 00:00:00 2001 From: dangotbanned <125183946+dangotbanned@users.noreply.github.com> Date: Fri, 8 Nov 2024 16:17:40 +0000 Subject: [PATCH] chore: Remove `duckdb` comment Not planning to support this anymore, requires `fsspec` which isn't in `dev` ``` InvalidInputException Traceback (most recent call last) Cell In[6], line 5 3 with duck._reader._opener.open(url) as f: 4 fn = duck._reader._read_fn['.json'] ----> 5 thing = fn(f.read()) InvalidInputException: Invalid Input Error: This operation could not be completed because required module 'fsspec' is not installed" ``` --- tools/datasets/_io.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/datasets/_io.py b/tools/datasets/_io.py index a75d0bd17..7989ae282 100644 --- a/tools/datasets/_io.py +++ b/tools/datasets/_io.py @@ -386,9 +386,6 @@ def get_backend(backend: _Backend, /) -> _Reader[Any, Any]: return _PandasReader("pandas") elif backend == "pyarrow": return _PyArrowReader("pyarrow") - elif backend == "duckdb": - msg = "Included in ``dev``, not investigated yet" - raise NotImplementedError(msg) elif backend in {"ibis", "cudf", "dask", "modin"}: msg = "Supported by ``narwhals``, not investigated yet" raise NotImplementedError(msg)