Skip to content

Commit

Permalink
deploy: 14bc4b6
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Nov 27, 2023
1 parent 05c19ef commit 308d00b
Show file tree
Hide file tree
Showing 110 changed files with 2,911 additions and 3,131 deletions.
202 changes: 101 additions & 101 deletions _sources/book/duckdb/02_sql_basics.ipynb

Large diffs are not rendered by default.

58 changes: 29 additions & 29 deletions _sources/book/duckdb/03_python_api.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "bbbbadc5",
"id": "81bddc1e",
"metadata": {},
"source": [
"# Python API\n",
Expand All @@ -28,7 +28,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "20ccc536",
"id": "347e257a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -37,7 +37,7 @@
},
{
"cell_type": "markdown",
"id": "18eb428e",
"id": "39fcacfe",
"metadata": {},
"source": [
"## Library Import"
Expand All @@ -46,7 +46,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4e68def3",
"id": "4a80429a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -56,7 +56,7 @@
},
{
"cell_type": "markdown",
"id": "376e4dfc",
"id": "cc389ec7",
"metadata": {},
"source": [
"## Installing Extensions\n",
Expand All @@ -67,7 +67,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "fefbf67d",
"id": "73ae9848",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -78,7 +78,7 @@
},
{
"cell_type": "markdown",
"id": "aac02c98",
"id": "23ce7e4b",
"metadata": {},
"source": [
"## Data Input\n",
Expand All @@ -89,7 +89,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4acb8f6c",
"id": "1fe53e1f",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -99,7 +99,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "8088a4e9",
"id": "400b3f0f",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -109,7 +109,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c1f66b4c",
"id": "64a548e6",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -118,7 +118,7 @@
},
{
"cell_type": "markdown",
"id": "9f563952",
"id": "4fe40d61",
"metadata": {},
"source": [
"## DataFrames\n",
Expand All @@ -129,7 +129,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "908303ea",
"id": "4bd7064b",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -139,7 +139,7 @@
},
{
"cell_type": "markdown",
"id": "66968064",
"id": "f33cd342",
"metadata": {},
"source": [
"DuckDB can also ingest data from remote sources (e.g., HTTP, S3) and return a Pandas DataFrame."
Expand All @@ -148,7 +148,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "679ef0f7",
"id": "d7f40656",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -158,7 +158,7 @@
},
{
"cell_type": "markdown",
"id": "cfb1ec5a",
"id": "48e8de22",
"metadata": {},
"source": [
"## Result Conversion\n",
Expand All @@ -169,7 +169,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "528ce496",
"id": "fa6364e4",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -179,7 +179,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d108ce04",
"id": "9c62f6e5",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -189,7 +189,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c232ec2a",
"id": "10834447",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -198,7 +198,7 @@
},
{
"cell_type": "markdown",
"id": "32c5271a",
"id": "255c426e",
"metadata": {},
"source": [
"## Writing Data to Disk\n",
Expand All @@ -209,7 +209,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ca290ba0",
"id": "a7252223",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -220,7 +220,7 @@
},
{
"cell_type": "markdown",
"id": "d43443a8",
"id": "fd82dbc6",
"metadata": {},
"source": [
"## Persistent Storage\n",
Expand All @@ -231,7 +231,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "3ad00a81",
"id": "68fdf89c",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -249,7 +249,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "46bab722",
"id": "0c7edfa9",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -259,7 +259,7 @@
},
{
"cell_type": "markdown",
"id": "1cecd3f9",
"id": "f70915d6",
"metadata": {},
"source": [
"You can also use a context manager to ensure that the connection is closed:"
Expand All @@ -268,7 +268,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e6e3c77a",
"id": "ca76396e",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -282,7 +282,7 @@
},
{
"cell_type": "markdown",
"id": "baed2391",
"id": "134dbb85",
"metadata": {},
"source": [
"## Connection Object and Module\n",
Expand All @@ -295,7 +295,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "7a602a0c",
"id": "1253a33c",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -305,7 +305,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9f7b3683",
"id": "b57626c5",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -315,7 +315,7 @@
},
{
"cell_type": "markdown",
"id": "663f983f",
"id": "87702884",
"metadata": {},
"source": [
"## References\n",
Expand Down
Loading

0 comments on commit 308d00b

Please sign in to comment.