Created
June 25, 2024 14:34
-
-
Save dkapitan/9973da4359605e650f524daaab7fa139 to your computer and use it in GitHub Desktop.
notebook with duckdb + jupysql + polars
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import duckdb | |
import polars as pl | |
conn = duckdb.connect("../some/path/to/database.duckdb") | |
# configure JupySQL | |
%load_ext sql | |
%sql conn --alias duckdb | |
%config SqlMagic.displaylimit = None | |
%config SqlMagic.autopolars = True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment