Skip to content

Commit d7069c5

Browse files
committed
update
1 parent 6413ccf commit d7069c5

File tree

10 files changed

+904
-4
lines changed

10 files changed

+904
-4
lines changed

packages/py-db/try-duckdb/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = [
88
"duckdb>=1.2.0",
9+
"faker>=37.0.0",
910
"jupyterlab>=4.3.5",
1011
"notebook>=7.3.2",
1112
"pandas>=2.2.3",

packages/py-db/try-duckdb/src/client_api/api04.ipynb renamed to packages/py-db/try-duckdb/src/client_api/04_db.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
},
4848
{
4949
"cell_type": "code",
50-
"execution_count": null,
50+
"execution_count": 2,
5151
"metadata": {},
5252
"outputs": [],
5353
"source": [
@@ -57,18 +57,18 @@
5757
"con = duckdb.connect(database=\":memory:\")\n",
5858
"\n",
5959
"# to use a database file (not shared between processes)\n",
60-
"con = duckdb.connect(database=\"my-db.duckdb\", read_only=False)\n",
60+
"# con = duckdb.connect(database=\"tmp/my-db.duckdb\", read_only=False)\n",
6161
"\n",
6262
"# to use a database file (shared between processes)\n",
63-
"con = duckdb.connect(database=\"my-db.duckdb\", read_only=True)\n",
63+
"# con = duckdb.connect(database=\"tmp/my-db.duckdb\", read_only=True)\n",
6464
"\n",
6565
"# to explicitly get the default connection\n",
6666
"con = duckdb.connect(database=\":default:\")"
6767
]
6868
},
6969
{
7070
"cell_type": "code",
71-
"execution_count": null,
71+
"execution_count": 3,
7272
"metadata": {},
7373
"outputs": [
7474
{

0 commit comments

Comments
 (0)