Skip to content

Commit

Permalink
deploy: 6d4b170
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Nov 29, 2023
1 parent 894c652 commit 09b6ea1
Show file tree
Hide file tree
Showing 54 changed files with 2,257 additions and 2,257 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": "dff0cee3",
"id": "b8528ea6",
"metadata": {},
"source": [
"# Python API\n",
Expand All @@ -28,7 +28,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "cf5b5b39",
"id": "37708b07",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -37,7 +37,7 @@
},
{
"cell_type": "markdown",
"id": "e9d03c1f",
"id": "657096bf",
"metadata": {},
"source": [
"## Library Import"
Expand All @@ -46,7 +46,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "a92eb04f",
"id": "5546ba6f",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -56,7 +56,7 @@
},
{
"cell_type": "markdown",
"id": "ffc6f117",
"id": "889c90fa",
"metadata": {},
"source": [
"## Installing Extensions\n",
Expand All @@ -67,7 +67,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "cfa0ab9f",
"id": "9081a6db",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -78,7 +78,7 @@
},
{
"cell_type": "markdown",
"id": "2ff3d365",
"id": "19c03cc0",
"metadata": {},
"source": [
"## Data Input\n",
Expand All @@ -89,7 +89,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e0eaf314",
"id": "e0e83aac",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -99,7 +99,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4ad19a20",
"id": "08182c9a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -109,7 +109,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "cf9db2c4",
"id": "09ab0620",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -118,7 +118,7 @@
},
{
"cell_type": "markdown",
"id": "617bf723",
"id": "e1749d36",
"metadata": {},
"source": [
"## DataFrames\n",
Expand All @@ -129,7 +129,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f7473b5f",
"id": "f16fb04c",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -139,7 +139,7 @@
},
{
"cell_type": "markdown",
"id": "3dfa5ac0",
"id": "7bf6ad52",
"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": "0c7ce9e8",
"id": "92b81b2a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -158,7 +158,7 @@
},
{
"cell_type": "markdown",
"id": "acfffb2b",
"id": "59e6b64b",
"metadata": {},
"source": [
"## Result Conversion\n",
Expand All @@ -169,7 +169,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1f262f18",
"id": "11c05ec7",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -179,7 +179,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "cba60d34",
"id": "ead407ae",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -189,7 +189,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f2a58896",
"id": "9daa65e8",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -198,7 +198,7 @@
},
{
"cell_type": "markdown",
"id": "a6a78d99",
"id": "ddcbd655",
"metadata": {},
"source": [
"## Writing Data to Disk\n",
Expand All @@ -209,7 +209,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c178af9c",
"id": "365aeb4f",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -220,7 +220,7 @@
},
{
"cell_type": "markdown",
"id": "04630755",
"id": "b65acfdb",
"metadata": {},
"source": [
"## Persistent Storage\n",
Expand All @@ -231,7 +231,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "85861fff",
"id": "fbee34f2",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -249,7 +249,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ba251dda",
"id": "3ca19f24",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -259,7 +259,7 @@
},
{
"cell_type": "markdown",
"id": "426dafa4",
"id": "4a8cd93a",
"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": "fbf084bc",
"id": "b6969e3c",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -282,7 +282,7 @@
},
{
"cell_type": "markdown",
"id": "68360f50",
"id": "4bfa7255",
"metadata": {},
"source": [
"## Connection Object and Module\n",
Expand All @@ -295,7 +295,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "95487573",
"id": "0ab849fa",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -305,7 +305,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "55e23788",
"id": "fbbc55a2",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -315,7 +315,7 @@
},
{
"cell_type": "markdown",
"id": "b256640c",
"id": "3898ebda",
"metadata": {},
"source": [
"## References\n",
Expand Down
Loading

0 comments on commit 09b6ea1

Please sign in to comment.