Skip to content

Commit

Permalink
deploy: 53770ab
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Nov 15, 2023
1 parent b02ff29 commit 5640322
Show file tree
Hide file tree
Showing 106 changed files with 4,408 additions and 2,683 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": "0bd0f7e4",
"id": "c9914a11",
"metadata": {},
"source": [
"# Python API\n",
Expand All @@ -28,7 +28,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ec238bcf",
"id": "8bfb6a3b",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -37,7 +37,7 @@
},
{
"cell_type": "markdown",
"id": "ba4ba0fc",
"id": "76f0ec0b",
"metadata": {},
"source": [
"## Library Import"
Expand All @@ -46,7 +46,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "3aea5375",
"id": "b312c542",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -56,7 +56,7 @@
},
{
"cell_type": "markdown",
"id": "b5d4a619",
"id": "9e2c4274",
"metadata": {},
"source": [
"## Installing Extensions\n",
Expand All @@ -67,7 +67,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c96b5dcc",
"id": "a27b5f21",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -78,7 +78,7 @@
},
{
"cell_type": "markdown",
"id": "cfa58e19",
"id": "7c5f2312",
"metadata": {},
"source": [
"## Data Input\n",
Expand All @@ -89,7 +89,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "87a16d23",
"id": "bf3f67c2",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -99,7 +99,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "bfe32bd0",
"id": "6f63adb6",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -109,7 +109,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d1f52191",
"id": "ce894bf4",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -118,7 +118,7 @@
},
{
"cell_type": "markdown",
"id": "49c80e29",
"id": "a5c919f0",
"metadata": {},
"source": [
"## DataFrames\n",
Expand All @@ -129,7 +129,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "16410cea",
"id": "c83f84aa",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -139,7 +139,7 @@
},
{
"cell_type": "markdown",
"id": "476375d6",
"id": "c8219b96",
"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": "16d780ff",
"id": "ae4f91ef",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -158,7 +158,7 @@
},
{
"cell_type": "markdown",
"id": "cd005cda",
"id": "229f5004",
"metadata": {},
"source": [
"## Result Conversion\n",
Expand All @@ -169,7 +169,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "720ab960",
"id": "0516adb7",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -179,7 +179,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "58c4ab90",
"id": "34dbaf32",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -189,7 +189,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d01b2b18",
"id": "a7946df3",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -198,7 +198,7 @@
},
{
"cell_type": "markdown",
"id": "ef6269a8",
"id": "895bbf5d",
"metadata": {},
"source": [
"## Writing Data to Disk\n",
Expand All @@ -209,7 +209,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "588971e0",
"id": "726386fb",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -220,7 +220,7 @@
},
{
"cell_type": "markdown",
"id": "d450e69d",
"id": "2f6f879f",
"metadata": {},
"source": [
"## Persistent Storage\n",
Expand All @@ -231,7 +231,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "46cb8935",
"id": "ec1fd56b",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -249,7 +249,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "14c2ded2",
"id": "2c7248a7",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -259,7 +259,7 @@
},
{
"cell_type": "markdown",
"id": "b0f768b2",
"id": "447f21cb",
"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": "1dcc4ea8",
"id": "3cddd83f",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -282,7 +282,7 @@
},
{
"cell_type": "markdown",
"id": "e3841340",
"id": "c412c325",
"metadata": {},
"source": [
"## Connection Object and Module\n",
Expand All @@ -295,7 +295,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "85f416a9",
"id": "39e50172",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -305,7 +305,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "a9522047",
"id": "6ad5a735",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -315,7 +315,7 @@
},
{
"cell_type": "markdown",
"id": "ad2e32ef",
"id": "4c0ecb8c",
"metadata": {},
"source": [
"## References\n",
Expand Down
Loading

0 comments on commit 5640322

Please sign in to comment.