diff --git a/CHANGELOG.md b/CHANGELOG.md index af7488e92..b1450d8e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ The changelog format is based on [Keep a Changelog](https://keepachangelog.com/e This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and all PyGraphistry-specific breaking changes are explictly noted here. ## [Development] +### Docs + +* Update Python remote mode notebook: Fixed engine results ## [0.35.1 - 2024-12-11] diff --git a/demos/gfql/python_remote.ipynb b/demos/gfql/python_remote.ipynb index 103eb3ffd..9487e1510 100644 --- a/demos/gfql/python_remote.ipynb +++ b/demos/gfql/python_remote.ipynb @@ -33,15 +33,15 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 6, "id": "a6ce5887-106e-49b9-a33c-1d9c05dc270c", "metadata": { "execution": { - "iopub.execute_input": "2024-12-11T00:59:25.986628Z", - "iopub.status.busy": "2024-12-11T00:59:25.985970Z", - "iopub.status.idle": "2024-12-11T00:59:30.988553Z", - "shell.execute_reply": "2024-12-11T00:59:30.988042Z", - "shell.execute_reply.started": "2024-12-11T00:59:25.986581Z" + "iopub.execute_input": "2024-12-13T20:28:09.287758Z", + "iopub.status.busy": "2024-12-13T20:28:09.286951Z", + "iopub.status.idle": "2024-12-13T20:28:09.293049Z", + "shell.execute_reply": "2024-12-13T20:28:09.292329Z", + "shell.execute_reply.started": "2024-12-13T20:28:09.287727Z" } }, "outputs": [ @@ -51,7 +51,7 @@ "'0+unknown'" ] }, - "execution_count": 2, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" } @@ -65,15 +65,15 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 23, "id": "e373cabf-85f4-470b-9aeb-ec5c54cf747d", "metadata": { "execution": { - "iopub.execute_input": "2024-12-11T00:59:30.989945Z", - "iopub.status.busy": "2024-12-11T00:59:30.989634Z", - "iopub.status.idle": "2024-12-11T00:59:31.576987Z", - "shell.execute_reply": "2024-12-11T00:59:31.575478Z", - "shell.execute_reply.started": "2024-12-11T00:59:30.989930Z" + "iopub.execute_input": "2024-12-13T20:30:03.447464Z", + "iopub.status.busy": "2024-12-13T20:30:03.447098Z", + "iopub.status.idle": "2024-12-13T20:30:04.267042Z", + "shell.execute_reply": "2024-12-13T20:30:04.266177Z", + "shell.execute_reply.started": "2024-12-13T20:30:03.447436Z" } }, "outputs": [], @@ -91,15 +91,15 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 8, "id": "dd360170-85f6-4d8e-8787-268315694a34", "metadata": { "execution": { - "iopub.execute_input": "2024-12-11T00:59:31.579362Z", - "iopub.status.busy": "2024-12-11T00:59:31.579210Z", - "iopub.status.idle": "2024-12-11T00:59:31.595650Z", - "shell.execute_reply": "2024-12-11T00:59:31.594190Z", - "shell.execute_reply.started": "2024-12-11T00:59:31.579348Z" + "iopub.execute_input": "2024-12-13T20:28:11.158692Z", + "iopub.status.busy": "2024-12-13T20:28:11.157916Z", + "iopub.status.idle": "2024-12-13T20:28:11.163897Z", + "shell.execute_reply": "2024-12-13T20:28:11.163175Z", + "shell.execute_reply.started": "2024-12-13T20:28:11.158662Z" } }, "outputs": [], @@ -128,15 +128,15 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 9, "id": "964868b3-bebe-4fab-8555-ac04fdaa9602", "metadata": { "execution": { - "iopub.execute_input": "2024-12-11T00:59:31.597246Z", - "iopub.status.busy": "2024-12-11T00:59:31.597006Z", - "iopub.status.idle": "2024-12-11T00:59:33.221509Z", - "shell.execute_reply": "2024-12-11T00:59:33.219751Z", - "shell.execute_reply.started": "2024-12-11T00:59:31.597227Z" + "iopub.execute_input": "2024-12-13T20:28:13.528095Z", + "iopub.status.busy": "2024-12-13T20:28:13.527734Z", + "iopub.status.idle": "2024-12-13T20:28:15.563191Z", + "shell.execute_reply": "2024-12-13T20:28:15.562283Z", + "shell.execute_reply.started": "2024-12-13T20:28:13.528068Z" } }, "outputs": [ @@ -144,19 +144,19 @@ "name": "stdout", "output_type": "stream", "text": [ - "CPU times: user 99.4 ms, sys: 10.1 ms, total: 110 ms\n", - "Wall time: 1.61 s\n" + "CPU times: user 70.1 ms, sys: 1.24 ms, total: 71.3 ms\n", + "Wall time: 2.03 s\n" ] }, { "data": { "text/plain": [ - "{'dataset_id': '9db15bc1817b4b918f878add24e04eff',\n", + "{'dataset_id': '0a56aa27ec1e4112b1458e960dc6f674',\n", " 'nodes_file_id': None,\n", - " 'edges_file_id': 'db35c2b29d484ec48ebc407b63ba548a'}" + " 'edges_file_id': '271a00f639a748fcaaaf620437bcd0f2'}" ] }, - "execution_count": 5, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } @@ -207,15 +207,15 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 10, "id": "6178ba55-adf5-4636-bfff-d31b80bf3f3d", "metadata": { "execution": { - "iopub.execute_input": "2024-12-11T00:59:33.222707Z", - "iopub.status.busy": "2024-12-11T00:59:33.222510Z", - "iopub.status.idle": "2024-12-11T00:59:33.839784Z", - "shell.execute_reply": "2024-12-11T00:59:33.839261Z", - "shell.execute_reply.started": "2024-12-11T00:59:33.222689Z" + "iopub.execute_input": "2024-12-13T20:28:18.872942Z", + "iopub.status.busy": "2024-12-13T20:28:18.872553Z", + "iopub.status.idle": "2024-12-13T20:28:19.993958Z", + "shell.execute_reply": "2024-12-13T20:28:19.993299Z", + "shell.execute_reply.started": "2024-12-13T20:28:18.872914Z" } }, "outputs": [ @@ -279,7 +279,7 @@ "2 c d z 6" ] }, - "execution_count": 6, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } @@ -303,15 +303,15 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 11, "id": "4651bcf1-ea7c-4a42-b107-54ff3030ecfb", "metadata": { "execution": { - "iopub.execute_input": "2024-12-11T01:01:43.909582Z", - "iopub.status.busy": "2024-12-11T01:01:43.909084Z", - "iopub.status.idle": "2024-12-11T01:01:43.914974Z", - "shell.execute_reply": "2024-12-11T01:01:43.914420Z", - "shell.execute_reply.started": "2024-12-11T01:01:43.909560Z" + "iopub.execute_input": "2024-12-13T20:28:20.664522Z", + "iopub.status.busy": "2024-12-13T20:28:20.664170Z", + "iopub.status.idle": "2024-12-13T20:28:20.672439Z", + "shell.execute_reply": "2024-12-13T20:28:20.671526Z", + "shell.execute_reply.started": "2024-12-13T20:28:20.664495Z" } }, "outputs": [ @@ -368,7 +368,7 @@ "3 d" ] }, - "execution_count": 9, + "execution_count": 11, "metadata": {}, "output_type": "execute_result" } @@ -391,15 +391,15 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 12, "id": "e398a92f-ac98-4cb6-a8da-e5e8c3c44e64", "metadata": { "execution": { - "iopub.execute_input": "2024-12-11T00:59:33.846258Z", - "iopub.status.busy": "2024-12-11T00:59:33.846104Z", - "iopub.status.idle": "2024-12-11T00:59:34.452831Z", - "shell.execute_reply": "2024-12-11T00:59:34.452275Z", - "shell.execute_reply.started": "2024-12-11T00:59:33.846244Z" + "iopub.execute_input": "2024-12-13T20:28:21.240928Z", + "iopub.status.busy": "2024-12-13T20:28:21.240353Z", + "iopub.status.idle": "2024-12-13T20:28:23.761880Z", + "shell.execute_reply": "2024-12-13T20:28:23.761248Z", + "shell.execute_reply.started": "2024-12-13T20:28:21.240899Z" } }, "outputs": [ @@ -456,7 +456,7 @@ "3 d" ] }, - "execution_count": 8, + "execution_count": 12, "metadata": {}, "output_type": "execute_result" } @@ -482,15 +482,15 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 13, "id": "726e1b3e-1c64-40e9-8899-751278eb2f20", "metadata": { "execution": { - "iopub.execute_input": "2024-12-10T04:54:05.505977Z", - "iopub.status.busy": "2024-12-10T04:54:05.505819Z", - "iopub.status.idle": "2024-12-10T04:54:06.084846Z", - "shell.execute_reply": "2024-12-10T04:54:06.084271Z", - "shell.execute_reply.started": "2024-12-10T04:54:05.505963Z" + "iopub.execute_input": "2024-12-13T20:28:25.017517Z", + "iopub.status.busy": "2024-12-13T20:28:25.017149Z", + "iopub.status.idle": "2024-12-13T20:28:26.003078Z", + "shell.execute_reply": "2024-12-13T20:28:26.002314Z", + "shell.execute_reply.started": "2024-12-13T20:28:25.017490Z" } }, "outputs": [ @@ -547,7 +547,7 @@ "3 d" ] }, - "execution_count": 8, + "execution_count": 13, "metadata": {}, "output_type": "execute_result" } @@ -580,15 +580,15 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 14, "id": "07260929-edd6-4368-b9dd-7d495a8a6184", "metadata": { "execution": { - "iopub.execute_input": "2024-12-10T05:02:45.970850Z", - "iopub.status.busy": "2024-12-10T05:02:45.969570Z", - "iopub.status.idle": "2024-12-10T05:02:46.507418Z", - "shell.execute_reply": "2024-12-10T05:02:46.506800Z", - "shell.execute_reply.started": "2024-12-10T05:02:45.970797Z" + "iopub.execute_input": "2024-12-13T20:28:27.754936Z", + "iopub.status.busy": "2024-12-13T20:28:27.754304Z", + "iopub.status.idle": "2024-12-13T20:28:28.723173Z", + "shell.execute_reply": "2024-12-13T20:28:28.722541Z", + "shell.execute_reply.started": "2024-12-13T20:28:27.754906Z" } }, "outputs": [ @@ -645,7 +645,7 @@ "3 d" ] }, - "execution_count": 11, + "execution_count": 14, "metadata": {}, "output_type": "execute_result" } @@ -671,15 +671,15 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 15, "id": "2a133721-2e22-4839-925b-415711bab303", "metadata": { "execution": { - "iopub.execute_input": "2024-12-10T05:27:02.748824Z", - "iopub.status.busy": "2024-12-10T05:27:02.748546Z", - "iopub.status.idle": "2024-12-10T05:27:03.330183Z", - "shell.execute_reply": "2024-12-10T05:27:03.329614Z", - "shell.execute_reply.started": "2024-12-10T05:27:02.748805Z" + "iopub.execute_input": "2024-12-13T20:28:28.724172Z", + "iopub.status.busy": "2024-12-13T20:28:28.724037Z", + "iopub.status.idle": "2024-12-13T20:28:29.725565Z", + "shell.execute_reply": "2024-12-13T20:28:29.724551Z", + "shell.execute_reply.started": "2024-12-13T20:28:28.724159Z" } }, "outputs": [ @@ -689,7 +689,7 @@ "(4, 3)" ] }, - "execution_count": 14, + "execution_count": 15, "metadata": {}, "output_type": "execute_result" } @@ -721,15 +721,15 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 16, "id": "7d4a82e7-d4bc-4edc-b71a-9ac2eefa86fb", "metadata": { "execution": { - "iopub.execute_input": "2024-12-11T01:07:02.674773Z", - "iopub.status.busy": "2024-12-11T01:07:02.674111Z", - "iopub.status.idle": "2024-12-11T01:07:03.370257Z", - "shell.execute_reply": "2024-12-11T01:07:03.369675Z", - "shell.execute_reply.started": "2024-12-11T01:07:02.674723Z" + "iopub.execute_input": "2024-12-13T20:28:35.788185Z", + "iopub.status.busy": "2024-12-13T20:28:35.787552Z", + "iopub.status.idle": "2024-12-13T20:28:36.758355Z", + "shell.execute_reply": "2024-12-13T20:28:36.757417Z", + "shell.execute_reply.started": "2024-12-13T20:28:35.788155Z" } }, "outputs": [ @@ -739,7 +739,7 @@ "{'num_edges': 3, 'num_nodes': 4}" ] }, - "execution_count": 10, + "execution_count": 16, "metadata": {}, "output_type": "execute_result" } @@ -768,26 +768,26 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 20, "id": "5c2fe5d2-af95-454c-923c-865454e39ca0", "metadata": { "execution": { - "iopub.execute_input": "2024-12-11T01:13:50.572178Z", - "iopub.status.busy": "2024-12-11T01:13:50.571921Z", - "iopub.status.idle": "2024-12-11T01:13:51.337704Z", - "shell.execute_reply": "2024-12-11T01:13:51.336010Z", - "shell.execute_reply.started": "2024-12-11T01:13:50.572160Z" + "iopub.execute_input": "2024-12-13T20:29:19.778216Z", + "iopub.status.busy": "2024-12-13T20:29:19.777464Z", + "iopub.status.idle": "2024-12-13T20:29:20.728529Z", + "shell.execute_reply": "2024-12-13T20:29:20.727601Z", + "shell.execute_reply.started": "2024-12-13T20:29:19.778196Z" } }, "outputs": [ { "data": { "text/plain": [ - "{'edges': \"\",\n", - " 'nodes': \"\"}" + "{'edges': \"\",\n", + " 'nodes': \"\"}" ] }, - "execution_count": 16, + "execution_count": 20, "metadata": {}, "output_type": "execute_result" } @@ -796,7 +796,7 @@ "def report_types(g):\n", " return {\n", " 'edges': str(type(g._edges)),\n", - " 'nodes': str(type(g._nodes))\n", + " 'nodes': str(type(g.materialize_nodes()._nodes))\n", " }\n", "\n", "g2.python_remote_json(report_types)" @@ -804,15 +804,15 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 21, "id": "8d37c766-de56-415b-95c9-b66e8f6bdefb", "metadata": { "execution": { - "iopub.execute_input": "2024-12-11T01:13:05.836973Z", - "iopub.status.busy": "2024-12-11T01:13:05.836716Z", - "iopub.status.idle": "2024-12-11T01:13:06.483622Z", - "shell.execute_reply": "2024-12-11T01:13:06.483119Z", - "shell.execute_reply.started": "2024-12-11T01:13:05.836955Z" + "iopub.execute_input": "2024-12-13T20:29:24.130251Z", + "iopub.status.busy": "2024-12-13T20:29:24.129947Z", + "iopub.status.idle": "2024-12-13T20:29:25.090585Z", + "shell.execute_reply": "2024-12-13T20:29:25.089837Z", + "shell.execute_reply.started": "2024-12-13T20:29:24.130235Z" } }, "outputs": [ @@ -820,10 +820,10 @@ "data": { "text/plain": [ "{'edges': \"\",\n", - " 'nodes': \"\"}" + " 'nodes': \"\"}" ] }, - "execution_count": 13, + "execution_count": 21, "metadata": {}, "output_type": "execute_result" } @@ -832,7 +832,7 @@ "def report_types(g):\n", " return {\n", " 'edges': str(type(g._edges)),\n", - " 'nodes': str(type(g._nodes))\n", + " 'nodes': str(type(g.materialize_nodes()._nodes))\n", " }\n", "\n", "g2.python_remote_json(report_types, engine='pandas')" @@ -840,26 +840,26 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 22, "id": "f453f0f8-0c26-4729-982f-c56e8e42c82a", "metadata": { "execution": { - "iopub.execute_input": "2024-12-11T01:13:26.005979Z", - "iopub.status.busy": "2024-12-11T01:13:26.005365Z", - "iopub.status.idle": "2024-12-11T01:13:26.554910Z", - "shell.execute_reply": "2024-12-11T01:13:26.554342Z", - "shell.execute_reply.started": "2024-12-11T01:13:26.005930Z" + "iopub.execute_input": "2024-12-13T20:29:27.858937Z", + "iopub.status.busy": "2024-12-13T20:29:27.858574Z", + "iopub.status.idle": "2024-12-13T20:29:28.879929Z", + "shell.execute_reply": "2024-12-13T20:29:28.879269Z", + "shell.execute_reply.started": "2024-12-13T20:29:27.858910Z" } }, "outputs": [ { "data": { "text/plain": [ - "{'edges': \"\",\n", - " 'nodes': \"\"}" + "{'edges': \"\",\n", + " 'nodes': \"\"}" ] }, - "execution_count": 15, + "execution_count": 22, "metadata": {}, "output_type": "execute_result" } @@ -868,7 +868,7 @@ "def report_types(g):\n", " return {\n", " 'edges': str(type(g._edges)),\n", - " 'nodes': str(type(g._nodes))\n", + " 'nodes': str(type(g.materialize_nodes()._nodes))\n", " }\n", "\n", "g2.python_remote_json(report_types, engine='cudf')"