|
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 |
Answered by
jonmmease
Nov 19, 2024
Replies: 1 comment 2 replies
|
Hi @cboettig, DuckDB relations ( |
2 replies
Answer selected by
cboettig
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @cboettig,
set_connectionis 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_connectionand usetable://URLs. Happy to answer any questions.