Skip to content

Commit

Permalink
deploy: 910ba06
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Oct 23, 2023
1 parent 0dd6865 commit 7e5292f
Show file tree
Hide file tree
Showing 99 changed files with 4,370 additions and 2,565 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": "1abf2a1c",
"id": "72ea7b01",
"metadata": {},
"source": [
"# Python API\n",
Expand All @@ -28,7 +28,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "835ff839",
"id": "8364358a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -37,7 +37,7 @@
},
{
"cell_type": "markdown",
"id": "7e714954",
"id": "0468880e",
"metadata": {},
"source": [
"## Library Import"
Expand All @@ -46,7 +46,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e6639b89",
"id": "2430acb6",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -56,7 +56,7 @@
},
{
"cell_type": "markdown",
"id": "d32e5211",
"id": "d11254a0",
"metadata": {},
"source": [
"## Installing Extensions\n",
Expand All @@ -67,7 +67,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "2b5a33c7",
"id": "7ab9c396",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -78,7 +78,7 @@
},
{
"cell_type": "markdown",
"id": "e44196a4",
"id": "833394ca",
"metadata": {},
"source": [
"## Data Input\n",
Expand All @@ -89,7 +89,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "7ef285ee",
"id": "7fc84575",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -99,7 +99,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "86009c87",
"id": "14082889",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -109,7 +109,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d78359a5",
"id": "cdc2e097",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -118,7 +118,7 @@
},
{
"cell_type": "markdown",
"id": "165664d4",
"id": "18b07108",
"metadata": {},
"source": [
"## DataFrames\n",
Expand All @@ -129,7 +129,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b6239c6e",
"id": "96f81434",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -139,7 +139,7 @@
},
{
"cell_type": "markdown",
"id": "9d99efe9",
"id": "5d0c3f03",
"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": "a91fe6b0",
"id": "5d53a790",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -158,7 +158,7 @@
},
{
"cell_type": "markdown",
"id": "d9ac29eb",
"id": "ea17cd11",
"metadata": {},
"source": [
"## Result Conversion\n",
Expand All @@ -169,7 +169,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e6ccf74e",
"id": "4a831a6e",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -179,7 +179,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "21007c94",
"id": "0ea814e3",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -189,7 +189,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "a6b4aa9b",
"id": "aa2c520e",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -198,7 +198,7 @@
},
{
"cell_type": "markdown",
"id": "d71298ef",
"id": "df028e0d",
"metadata": {},
"source": [
"## Writing Data to Disk\n",
Expand All @@ -209,7 +209,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "3980e87a",
"id": "967a5b69",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -220,7 +220,7 @@
},
{
"cell_type": "markdown",
"id": "dcda042d",
"id": "1ea36df0",
"metadata": {},
"source": [
"## Persistent Storage\n",
Expand All @@ -231,7 +231,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "3d740cf6",
"id": "91d493c3",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -249,7 +249,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "dfcd409e",
"id": "bc1274e5",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -259,7 +259,7 @@
},
{
"cell_type": "markdown",
"id": "133fbb7f",
"id": "2028d13f",
"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": "f9bcc718",
"id": "5af5ee6e",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -282,7 +282,7 @@
},
{
"cell_type": "markdown",
"id": "039534d2",
"id": "8470624e",
"metadata": {},
"source": [
"## Connection Object and Module\n",
Expand All @@ -295,7 +295,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "39a0921e",
"id": "4a6f5dc7",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -305,7 +305,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b0a84d5b",
"id": "9d88c0d6",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -315,7 +315,7 @@
},
{
"cell_type": "markdown",
"id": "4c3dcae0",
"id": "67cd7d9b",
"metadata": {},
"source": [
"## References\n",
Expand Down
Loading

0 comments on commit 7e5292f

Please sign in to comment.