From c437d61bbbc472145ed5ca6517097fa540144674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Arroyo=20Torrens?= Date: Fri, 26 Mar 2021 14:08:16 +0100 Subject: [PATCH] Clean stderr and widgets in the notebooks --- .../territory_management_1layer.ipynb | 8 ----- .../territory_management_2layers.ipynb | 8 ----- .../enrichment_subscription_workflow.ipynb | 35 ------------------- .../use_cases/paris_remarkable_trees.ipynb | 8 ----- .../use_cases/paris_wifi_services.ipynb | 8 ----- docs/guides/07-Data-Observatory.ipynb | 35 ------------------- 6 files changed, 102 deletions(-) diff --git a/docs/examples/advanced_use_cases/territory_management_1layer.ipynb b/docs/examples/advanced_use_cases/territory_management_1layer.ipynb index 683134b12..206a031db 100644 --- a/docs/examples/advanced_use_cases/territory_management_1layer.ipynb +++ b/docs/examples/advanced_use_cases/territory_management_1layer.ipynb @@ -334,14 +334,6 @@ "execution_count": 8, "metadata": {}, "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/Users/malvarez/anaconda3/lib/python3.7/site-packages/ipykernel_launcher.py:7: DtypeWarning: Columns (6,10,27,44,48,49,50,51,52,53,55,56,57,58,59,61,62,63,64,65,66,67,68) have mixed types.Specify dtype option on import or set low_memory=False.\n", - " import sys\n" - ] - }, { "data": { "text/html": [ diff --git a/docs/examples/advanced_use_cases/territory_management_2layers.ipynb b/docs/examples/advanced_use_cases/territory_management_2layers.ipynb index 5b0e1ff89..0d0ddb653 100644 --- a/docs/examples/advanced_use_cases/territory_management_2layers.ipynb +++ b/docs/examples/advanced_use_cases/territory_management_2layers.ipynb @@ -336,14 +336,6 @@ "execution_count": 8, "metadata": {}, "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/Users/malvarez/anaconda3/lib/python3.7/site-packages/ipykernel_launcher.py:7: DtypeWarning: Columns (6,10,27,44,48,49,50,51,52,53,55,56,57,58,59,61,62,63,64,65,66,67,68) have mixed types.Specify dtype option on import or set low_memory=False.\n", - " import sys\n" - ] - }, { "data": { "text/html": [ diff --git a/docs/examples/data_observatory/enrichment_subscription_workflow.ipynb b/docs/examples/data_observatory/enrichment_subscription_workflow.ipynb index 62c6b7710..3b5000d08 100644 --- a/docs/examples/data_observatory/enrichment_subscription_workflow.ipynb +++ b/docs/examples/data_observatory/enrichment_subscription_workflow.ipynb @@ -47,20 +47,6 @@ "execution_count": 4, "metadata": {}, "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "217eddb974ca42e395d321408f6868da", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "HTML(value='\\n

Subscription already purchased

\\n The dataset carto-do.ags.demographic…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } ], "source": [ "dataset.subscribe()" @@ -1762,27 +1748,6 @@ "widgets": { "application/vnd.jupyter.widget-state+json": { "state": { - "217eddb974ca42e395d321408f6868da": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "1.5.0", - "model_name": "HTMLModel", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "HTMLModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "HTMLView", - "description": "", - "description_tooltip": null, - "layout": "IPY_MODEL_97dcc6f4e21347e2851d982f200b3866", - "placeholder": "​", - "style": "IPY_MODEL_3b1a03f63c9b48bcabba9a14fc266102", - "value": "\n

Subscription already purchased

\n The dataset carto-do.ags.demographics_retailpotential_usa_blockgroup_2015_yearly_2019 has already been purchased.\n " - } - }, "3b1a03f63c9b48bcabba9a14fc266102": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", diff --git a/docs/examples/use_cases/paris_remarkable_trees.ipynb b/docs/examples/use_cases/paris_remarkable_trees.ipynb index d820b0aa2..cc0c8d5ef 100644 --- a/docs/examples/use_cases/paris_remarkable_trees.ipynb +++ b/docs/examples/use_cases/paris_remarkable_trees.ipynb @@ -255,14 +255,6 @@ "execution_count": 2, "metadata": {}, "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - ":1: FutureWarning: The default value of regex will change from True to False in a future version. In addition, single character regular expressions will*not* be treated as literal strings when regex=True.\n", - " df.columns = df.columns.str.replace('.', '_')\n" - ] - }, { "data": { "text/html": [ diff --git a/docs/examples/use_cases/paris_wifi_services.ipynb b/docs/examples/use_cases/paris_wifi_services.ipynb index 200db4965..308bd94a6 100644 --- a/docs/examples/use_cases/paris_wifi_services.ipynb +++ b/docs/examples/use_cases/paris_wifi_services.ipynb @@ -239,14 +239,6 @@ "execution_count": 3, "metadata": {}, "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - ":1: FutureWarning: The default value of regex will change from True to False in a future version. In addition, single character regular expressions will*not* be treated as literal strings when regex=True.\n", - " df.columns = df.columns.str.replace('.', '_')\n" - ] - }, { "data": { "text/html": [ diff --git a/docs/guides/07-Data-Observatory.ipynb b/docs/guides/07-Data-Observatory.ipynb index f2ea9e13e..ee4b45099 100644 --- a/docs/guides/07-Data-Observatory.ipynb +++ b/docs/guides/07-Data-Observatory.ipynb @@ -2428,20 +2428,6 @@ "execution_count": 17, "metadata": {}, "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "dbb4da6b023e42169e14856aef36c067", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "HTML(value='\\n

Subscription already purchased

\\n The dataset carto-do.ags.demographic…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } ], "source": [ "dataset.subscribe()" @@ -3795,27 +3781,6 @@ "_view_name": "StyleView", "description_width": "" } - }, - "dbb4da6b023e42169e14856aef36c067": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "1.5.0", - "model_name": "HTMLModel", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "HTMLModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "HTMLView", - "description": "", - "description_tooltip": null, - "layout": "IPY_MODEL_184021e57bcc406885fdb9651b8188e2", - "placeholder": "​", - "style": "IPY_MODEL_8756ca8a4dd54a3a9acbfc7b87e710ab", - "value": "\n

Subscription already purchased

\n The dataset carto-do.ags.demographics_sociodemographics_usa_blockgroup_2015_yearly_2020 has already been purchased.\n " - } } }, "version_major": 2,