-
I have the vegafusion packages installed via conda:
I try to call import vegafusion as vf
import pandas as pd
import altair as alt
# Configure DuckDB connection
vf.runtime.set_connection("duckdb") Produces the error trace:
On Ubuntu 22.04 with python 3.12.7 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @cboettig, DuckDB relations ( |
Beta Was this translation helpful? Give feedback.
Hi @cboettig,
set_connection
is being removed in VegaFusion 2, and you have the 2.0 release candidate installed (Unfortunately, conda is installing the release candidate version automatically).DuckDB relations (
DuckDBPyRelation
) are now supported like inline datasets directly (See https://vegafusion.io/v2/posts/2024/2024-11-13_Release_2.0.0.html), so you don't need toset_connection
and usetable://
URLs. Happy to answer any questions.