From ad753b2130ce750ceea7844cdecc146e39d6a07c Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Fri, 29 Sep 2023 11:21:26 -0500 Subject: [PATCH] Remove extra header --- notebooks/getting-started-with-dataframes/notebook.ipynb | 6 +++--- notebooks/getting-started-with-notebooks/notebook.ipynb | 2 +- .../notebook.ipynb | 8 -------- notebooks/hybrid-search/notebook.ipynb | 8 ++++++++ notebooks/integrating-with-pandas/notebook.ipynb | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/notebooks/getting-started-with-dataframes/notebook.ipynb b/notebooks/getting-started-with-dataframes/notebook.ipynb index 6a7a50f5..2e5cf573 100644 --- a/notebooks/getting-started-with-dataframes/notebook.ipynb +++ b/notebooks/getting-started-with-dataframes/notebook.ipynb @@ -212,7 +212,7 @@ "metadata": {}, "source": [ "The code below will create the table in the server from the given `DataFrame`. The data types for the database table will be inferred from\n", - "the `DataFrame` data types. The `force=True` is merely used here in case you run the notebook code multiple times against the same\n", + "the `DataFrame` data types. The `overwrite=True` is merely used here in case you run the notebook code multiple times against the same\n", "database. It will cause an existing `phones` table to be overwritten if it already exists." ] }, @@ -223,7 +223,7 @@ "metadata": {}, "outputs": [], "source": [ - "phones_tbl = conn.create_table('phones', phones_df, force=True)\n", + "phones_tbl = conn.create_table('phones', phones_df, overwrite=True)\n", "phones_tbl.head(3)" ] }, @@ -432,7 +432,7 @@ "metadata": {}, "outputs": [], "source": [ - "tbl_2 = conn.create_table('phones2', phones_tbl, force=True)\n", + "tbl_2 = conn.create_table('phones2', phones_tbl, overwrite=True)\n", "tbl_2" ] }, diff --git a/notebooks/getting-started-with-notebooks/notebook.ipynb b/notebooks/getting-started-with-notebooks/notebook.ipynb index 4bc7ecbf..63050e30 100644 --- a/notebooks/getting-started-with-notebooks/notebook.ipynb +++ b/notebooks/getting-started-with-notebooks/notebook.ipynb @@ -116,6 +116,7 @@ "df = pd.read_csv(url, index_col=0,\n", " # Use parse_date=, dtype=, and converters= to specify explicit data types\n", " parse_dates=['inspection_date'],\n", + " date_format='%m/%d/%Y %H:%M:%S %p',\n", " dtype=dict(business_id=int, business_phone_number=str, business_postal_code=str, inspection_score=float),\n", " converters=dict(business_location=str_to_shapely))\n", "df" @@ -194,7 +195,6 @@ "source": [ "%%sql\n", "DROP DATABASE IF EXISTS {{database_name}};\n", - "\n", "CREATE DATABASE {{database_name}};" ] }, diff --git a/notebooks/how-to-build-llm-apps-that-can-see-hear-speak/notebook.ipynb b/notebooks/how-to-build-llm-apps-that-can-see-hear-speak/notebook.ipynb index 4b40b1ae..2e38a0b7 100644 --- a/notebooks/how-to-build-llm-apps-that-can-see-hear-speak/notebook.ipynb +++ b/notebooks/how-to-build-llm-apps-that-can-see-hear-speak/notebook.ipynb @@ -16,14 +16,6 @@ "" ] }, - { - "cell_type": "markdown", - "id": "215c4617-6ebd-43fc-aa25-904fec4bdf5e", - "metadata": {}, - "source": [ - "# How to Build LLM Apps that can See, Hear, Speak" - ] - }, { "cell_type": "markdown", "id": "a2a7fa17-ff2a-4abf-922d-af00514ab87e", diff --git a/notebooks/hybrid-search/notebook.ipynb b/notebooks/hybrid-search/notebook.ipynb index 2cf6ea1c..12c81643 100644 --- a/notebooks/hybrid-search/notebook.ipynb +++ b/notebooks/hybrid-search/notebook.ipynb @@ -211,6 +211,14 @@ "all_embeddings.shape" ] }, + { + "cell_type": "markdown", + "id": "d74c544f-feea-4d48-84be-c62bf5cb4ea3", + "metadata": {}, + "source": [ + "Merge embedding values into `data` rows." + ] + }, { "cell_type": "code", "execution_count": 10, diff --git a/notebooks/integrating-with-pandas/notebook.ipynb b/notebooks/integrating-with-pandas/notebook.ipynb index 1c107ae7..2e08b8f8 100644 --- a/notebooks/integrating-with-pandas/notebook.ipynb +++ b/notebooks/integrating-with-pandas/notebook.ipynb @@ -546,7 +546,7 @@ "metadata": {}, "outputs": [], "source": [ - "ibis_iris = ibis_conn.create_table('iris', iris, force=True)\n", + "ibis_iris = ibis_conn.create_table('iris', iris, overwrite=True)\n", "ibis_iris.limit(10).execute()" ] },