Skip to content

Commit

Permalink
improves duckdb tutorial (catherinedevlin#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmaanshrotriya authored Mar 3, 2023
1 parent 2b12212 commit 0bde7c8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions doc/integrations/duckdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,21 @@ SELECT *
FROM df
WHERE x > 95
```

## Passing parameters to connection

```{code-cell} ipython3
from sqlalchemy import create_engine
some_engine = create_engine(
'duckdb:///:memory:',
connect_args={
'preload_extensions': ['excel'],
}
)
```

```{code-cell} ipython3
%sql some_engine
```

0 comments on commit 0bde7c8

Please sign in to comment.