Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
psychemedia committed Jan 10, 2025
1 parent 296873a commit eebfd51
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
46 changes: 23 additions & 23 deletions content/pglite_anywidget_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "e5bac3d16bf04654abb496dae13565b3",
"model_id": "d4495b47795d4ecba9dabaa383f7bf49",
"version_major": 2,
"version_minor": 1
},
Expand Down Expand Up @@ -351,20 +351,6 @@
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"\n",
"df = pd.DataFrame({\"title\":[\"a\",\"b\",\"c\"]})\n",
"\n",
"# Insert data from a dataframe into a table that already exists\n",
"pg_headless.insert_from_df(\"test\", df, autorespond=True)\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
Expand All @@ -374,11 +360,25 @@
" 'response_type': 'single'}"
]
},
"execution_count": 15,
"execution_count": 13,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import pandas as pd\n",
"\n",
"df = pd.DataFrame({\"title\":[\"a\",\"b\",\"c\"]})\n",
"\n",
"# Insert data from a dataframe into a table that already exists\n",
"pg_headless.insert_from_df(\"test\", df, autorespond=True)\n"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"outputs": [],
"source": [
"# We can insert a dataframe into a pre-existing table\n",
"# Broken??\n",
Expand All @@ -388,7 +388,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 15,
"metadata": {},
"outputs": [
{
Expand All @@ -405,7 +405,7 @@
" 'response_type': 'single'}"
]
},
"execution_count": 16,
"execution_count": 15,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -425,14 +425,14 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 16,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/var/folders/10/8lp40z8x2hj_cch9j4rk_cpm0000gs/T/ipykernel_51173/3440347236.py:5: UserWarning: pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection. Other DBAPI2 objects are not tested. Please consider using SQLAlchemy.\n",
"/var/folders/10/8lp40z8x2hj_cch9j4rk_cpm0000gs/T/ipykernel_91226/3440347236.py:5: UserWarning: pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection. Other DBAPI2 objects are not tested. Please consider using SQLAlchemy.\n",
" pd.read_sql(\"SELECT * FROM test;\", conn)\n"
]
},
Expand Down Expand Up @@ -494,7 +494,7 @@
"3 4 c"
]
},
"execution_count": 17,
"execution_count": 16,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -509,7 +509,7 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": 17,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -570,7 +570,7 @@
"3 4 c"
]
},
"execution_count": 18,
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "jupyter_anywidget_pglite"
version = "0.1.13"
version = "0.1.14"
dependencies = ["anywidget==0.9.13"]
readme = "README.md"
authors = [
Expand Down

0 comments on commit eebfd51

Please sign in to comment.