From b8919c20783ea266337767e9b155878773bff892 Mon Sep 17 00:00:00 2001 From: katrinamsft Date: Mon, 28 Jun 2021 15:19:28 -0700 Subject: [PATCH] Removed output from notebooks --- WPP.Distant-helper_PIPE-001_v2.ipynb | 204 +---- WPP.Generate-Floorplan_PIPE-003_v2.1.1.ipynb | 207 +---- WPP.Input-File-Validations_PIPE-002_v2.ipynb | 893 ++----------------- 3 files changed, 78 insertions(+), 1226 deletions(-) diff --git a/WPP.Distant-helper_PIPE-001_v2.ipynb b/WPP.Distant-helper_PIPE-001_v2.ipynb index 7180765..2b28f28 100644 --- a/WPP.Distant-helper_PIPE-001_v2.ipynb +++ b/WPP.Distant-helper_PIPE-001_v2.ipynb @@ -2,49 +2,9 @@ "cells": [ { "cell_type": "code", - "execution_count": 4, - "metadata": { - "scrolled": true - }, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index(), IPython.notebook.get_selected_index()+1)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "\n", - " The raw code for this IPython notebook is by default hidden for easier reading toggle on/off the raw code by clicking here." - ], - "text/plain": [ - "" - ] - }, - "execution_count": 4, - "metadata": {}, - "output_type": "execute_result" - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "# Copyright (c) Microsoft Corporation.\n", "# Licensed under the MIT license.\n", @@ -101,82 +61,9 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "text/markdown": [ - "# Workspace Collaboration Optimizer" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/markdown": [ - "If your team or company is moving to a new worksite or you need to reorganize an existing workspace, this open-source tool can help. The Workspace Collaboration Optimizer can help you identify and seat teams together in a workspace that maximizes and fosters cross-team productivity and collaboration. You can use this tool to generate floor plans quickly and objectively, in a data-driven way that optimizes employee collaboration by seating teams together. This tool works best in Chrome. " - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/markdown": [ - "## Distance Helper" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/markdown": [ - "This notebook produces a distance.csv file, one of the required input files to generate a seating plan. Before running this notebook, make sure you have your zone coordinates to reference and the list of workspaces for your campus. " - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/markdown": [ - "You can skip this step and move to the Validations notebook if you have already prepared a distance.csv file. You can also skip this step if you only have one building containing all of your workspaces and want to manually create your distance file - See documentation for more details." - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "display(Markdown(\"# Workspace Collaboration Optimizer\"))\n", "display(Markdown(\"If your team or company is moving to a new worksite or you need to reorganize an existing workspace, this open-source tool can help. The Workspace Collaboration Optimizer can help you identify and seat teams together in a workspace that maximizes and fosters cross-team productivity and collaboration. You can use this tool to generate floor plans quickly and objectively, in a data-driven way that optimizes employee collaboration by seating teams together. This tool works best in Chrome. \"))\n", @@ -189,52 +76,9 @@ }, { "cell_type": "code", - "execution_count": 6, - "metadata": { - "scrolled": true - }, - "outputs": [ - { - "data": { - "text/markdown": [ - "#### 1. Enter the total number of buildings you would like to include in your seating plan. " - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "3f178308e2e749a2be733ac0e1051181", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Text(value='', description='Number of buildings', style=DescriptionStyle(description_width='185px'))" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "4a85b7b96c5b471bbfc92aaa5194946f", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Button(button_style='primary', description='Go', style=ButtonStyle())" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "style = {'description_width': '185px'}\n", "layout = {'width': '365px'}\n", @@ -254,9 +98,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "scrolled": false - }, + "metadata": {}, "outputs": [], "source": [ "\n", @@ -291,9 +133,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "scrolled": true - }, + "metadata": {}, "outputs": [], "source": [ "import time\n", @@ -360,9 +200,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "scrolled": true - }, + "metadata": {}, "outputs": [], "source": [ " #now add these columns to dataframe \n", @@ -380,9 +218,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "scrolled": true - }, + "metadata": {}, "outputs": [], "source": [ "columnsFLR = ['Number of Floors']\n", @@ -458,9 +294,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "scrolled": true - }, + "metadata": {}, "outputs": [], "source": [ "#### clear_output()\n", @@ -483,9 +317,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "scrolled": true - }, + "metadata": {}, "outputs": [], "source": [ "#dffloorsFINAL = to_dataframe(sheetnameFLRS)\n", @@ -518,9 +350,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "scrolled": false - }, + "metadata": {}, "outputs": [], "source": [ "display(Markdown(\"#### 7. Enter a unique workspace name for each zone. \"))\n", @@ -544,9 +374,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "scrolled": false - }, + "metadata": {}, "outputs": [], "source": [ "\"\"\"\n", diff --git a/WPP.Generate-Floorplan_PIPE-003_v2.1.1.ipynb b/WPP.Generate-Floorplan_PIPE-003_v2.1.1.ipynb index 4387660..ccf62b2 100644 --- a/WPP.Generate-Floorplan_PIPE-003_v2.1.1.ipynb +++ b/WPP.Generate-Floorplan_PIPE-003_v2.1.1.ipynb @@ -2,59 +2,9 @@ "cells": [ { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index(), IPython.notebook.get_selected_index()+1)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index(), IPython.notebook.get_selected_index()+1)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "\n", - " The raw code for this IPython notebook is by default hidden for easier reading toggle on/off the raw code by clicking here." - ], - "text/plain": [ - "" - ] - }, - "execution_count": 6, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "# Copyright (c) Microsoft Corporation.\n", "# Licensed under the MIT license.\n", @@ -89,24 +39,9 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "e42584f829d14aeebf29c98e35fd2f01", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "VBox(children=(Output(), ToggleButtons(button_style='info', options=('Standard',), value=None)))" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "import pandas as pd \n", "import numpy as np\n", @@ -190,100 +125,9 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/markdown": [ - "## Standard" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/markdown": [ - "All four files will be programmatically read from previous stage of validations from the Final Files set folder: " - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/markdown": [ - "{interactions.csv, team_size.csv, space_capacity.csv, and distance.csv}" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "11ffd0ac244e4b289289d56c5fd6b736", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output(layout=Layout(border='1px solid black'))" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "f939a87c90e84c2987d63d1d03f1dbfa", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output()" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "7b94eb9b868449a38af10ef262f3a6d4", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "HBox(children=(Text(value='', description='New results name:', layout=Layout(width='385px'), placeholder='No.x…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "def go_to_nextblock(btn):\n", " display(Javascript('IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+3)'))\n", @@ -971,44 +815,9 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "You did not enter an output file name above. A default name of [floor_plan_2021-06-22T100726 ] will be used.\n", - "\u001b[1m floor_plan_2021-06-22T100726.xlsx\n" - ] - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "11ffd0ac244e4b289289d56c5fd6b736", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output(layout=Layout(border='1px solid black'))" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+1)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "clear_output()\n", "global out_filename\n", diff --git a/WPP.Input-File-Validations_PIPE-002_v2.ipynb b/WPP.Input-File-Validations_PIPE-002_v2.ipynb index d655cdb..2e405ed 100644 --- a/WPP.Input-File-Validations_PIPE-002_v2.ipynb +++ b/WPP.Input-File-Validations_PIPE-002_v2.ipynb @@ -2,59 +2,9 @@ "cells": [ { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index(), IPython.notebook.get_selected_index()+1)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index(), IPython.notebook.get_selected_index()+1)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "\n", - " The raw code for this IPython notebook is by default hidden for easier reading toggle on/off the raw code by clicking here." - ], - "text/plain": [ - "" - ] - }, - "execution_count": 8, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "# Copyright (c) Microsoft Corporation.\n", "# Licensed under the MIT license.\n", @@ -94,46 +44,9 @@ }, { "cell_type": "code", - "execution_count": 83, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "text/markdown": [ - "## File Validations" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/markdown": [ - "Run this notebook once you have prepared all of the required input files - distance, space_capacity, team_size, and interactions files. This notebook validates your input files and prepares them in a Final Files folder. This is a required step before you can create a seating plan in the Generate Floorplan notebook." - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "\n", "display(Markdown(\"## File Validations\"))\n", @@ -165,22 +78,9 @@ }, { "cell_type": "code", - "execution_count": 84, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "\n", "\n", @@ -271,50 +171,9 @@ }, { "cell_type": "code", - "execution_count": 85, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+3)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "5d36462f36eb43d2952db46c55a24121", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output()" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "6a98619c49ee44ab8913cf8154d4ff82", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "VBox(children=(Accordion(children=(FileChooser(path='C:\\Users\\KAVERGAR\\Documents\\Github\\workspaceplanning', fi…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "loadfiles_markdown = widgets.Output()\n", "\n", @@ -359,21 +218,9 @@ }, { "cell_type": "code", - "execution_count": 86, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "ename": "TypeError", - "evalue": "unsupported operand type(s) for +: 'NoneType' and 'str'", - "output_type": "error", - "traceback": [ - "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[1;31mTypeError\u001b[0m Traceback (most recent call last)", - "\u001b[1;32m\u001b[0m in \u001b[0;36m\u001b[1;34m\u001b[0m\n\u001b[1;32m----> 1\u001b[1;33m \u001b[0mint_input_path\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0minput_path_int\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mselected_path\u001b[0m \u001b[1;33m+\u001b[0m \u001b[1;34m'\\\\'\u001b[0m\u001b[1;33m+\u001b[0m \u001b[0minput_path_int\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mselected_filename\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 2\u001b[0m \u001b[0mts_input_path\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0minput_path_ts\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mselected_path\u001b[0m \u001b[1;33m+\u001b[0m \u001b[1;34m'\\\\'\u001b[0m\u001b[1;33m+\u001b[0m \u001b[0minput_path_ts\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mselected_filename\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 3\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 4\u001b[0m \u001b[0mfc_input_path\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0minput_path_fc\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mselected_path\u001b[0m \u001b[1;33m+\u001b[0m \u001b[1;34m'\\\\'\u001b[0m\u001b[1;33m+\u001b[0m \u001b[0minput_path_fc\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mselected_filename\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 5\u001b[0m \u001b[0mdist_input_path\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0minput_path_dist\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mselected_path\u001b[0m \u001b[1;33m+\u001b[0m \u001b[1;34m'\\\\'\u001b[0m\u001b[1;33m+\u001b[0m \u001b[0minput_path_dist\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mselected_filename\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n", - "\u001b[1;31mTypeError\u001b[0m: unsupported operand type(s) for +: 'NoneType' and 'str'" - ] - } - ], + "outputs": [], "source": [ "int_input_path = input_path_int.selected_path + '\\\\'+ input_path_int.selected_filename\n", "ts_input_path = input_path_ts.selected_path + '\\\\'+ input_path_ts.selected_filename\n", @@ -389,20 +236,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "CGREEN = '\\33[32m'\n", "CRED = '\\033[91m'\n", @@ -482,20 +316,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "scenario1b_markdown = widgets.Output()\n", "\n", @@ -810,20 +631,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+3)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "\n", "clear_output()\n", @@ -1274,20 +1082,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+3)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "clear_output()\n", "# 1b. Get unique name of participants\n", @@ -1364,20 +1159,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "\n", "clear_output()\n", @@ -1496,20 +1278,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "clear_output()\n", "#display(Markdown('### Step 1. Validate Team Size File'))\n", @@ -1572,20 +1341,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "clear_output()\n", "\n", @@ -1735,20 +1491,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "\n", "clear_output()\n", @@ -1818,20 +1561,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "\n", "clear_output()\n", @@ -1895,20 +1625,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "clear_output()\n", "# d. Get unique name of space catalogs-in columns\n", @@ -2032,20 +1749,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "clear_output()\n", "# b. Get unique name of space catalogs-in columns\n", @@ -2103,20 +1807,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "clear_output()\n", "#display(Markdown('### Step 1. Validate Team Size File'))\n", @@ -2177,20 +1868,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "\n", "clear_output()\n", @@ -2291,20 +1969,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+4)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "clear_output()\n", "\n", @@ -2504,20 +2169,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "\n", "clear_output()\n", @@ -2574,64 +2226,9 @@ }, { "cell_type": "code", - "execution_count": 87, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "363386820a1b4c6ca41c13eeee5f787f", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output()" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "4e20290b47884b52b452b2896084664a", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "HBox(children=(Output(), Button(description='Show details', style=ButtonStyle())))" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "7269375530f8474cb7ddd03782f77043", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output(layout=Layout(border='1px solid black'))" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "\n", "clear_output()\n", @@ -2682,64 +2279,9 @@ }, { "cell_type": "code", - "execution_count": 88, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "b64f71112d27424f95d144bd530ae61a", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output()" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "dc8825734cf04259bcc812ab97aec26b", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "HBox(children=(Output(), Button(description='Show details', style=ButtonStyle())))" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "7269375530f8474cb7ddd03782f77043", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output(layout=Layout(border='1px solid black'))" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "\n", "clear_output()\n", @@ -2800,64 +2342,9 @@ }, { "cell_type": "code", - "execution_count": 89, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "6a905a7e32e64e26b64d4f6ea43be16c", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output()" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "1307207f30964d5e9b7ab1ff266b9bb9", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "HBox(children=(Output(), Button(description='Show details', style=ButtonStyle())))" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "7269375530f8474cb7ddd03782f77043", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output(layout=Layout(border='1px solid black'))" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "\n", "clear_output()\n", @@ -2922,64 +2409,9 @@ }, { "cell_type": "code", - "execution_count": 90, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "68a8cd4adc794dcaad4905db604aab3d", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output()" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "89e67fd1b86d45af834010a8c380611a", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "HBox(children=(Output(), Button(description='Show details', style=ButtonStyle())))" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "7269375530f8474cb7ddd03782f77043", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output(layout=Layout(border='1px solid black'))" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "\n", "clear_output()\n", @@ -3042,82 +2474,9 @@ }, { "cell_type": "code", - "execution_count": 91, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "a1ab6a2e57c9451a82478312080e919a", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output()" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Teams in Team Size and NOT in Interactions TimeInvestors_Organization... \n", - " None\n", - "Teams in Team Size and NOT in Interactions Collaborators_Organization... \n", - " set()\n", - "Teams in TimeInvestors_Organization and not in Collaborators_Organization...\n", - " set()\n", - "Teams in Collaborators_Organization and not in TimeInvestors_Organization...\n", - " set()\n", - "Total teams mismatches between TimeInvestors_Organization and Collaborators_Organization\n", - " set()\n", - "Teams in TimeInvestors_Organization and not in Team Size... \n", - "None\n", - "Teams in Collaborators_Organization and not in Team Size... \n", - "None\n" - ] - }, - { - "data": { - "text/html": [ - "

✅ Passed

" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "7269375530f8474cb7ddd03782f77043", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output(layout=Layout(border='1px solid black'))" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+1)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "\n", "clear_output()\n", @@ -3206,38 +2565,9 @@ }, { "cell_type": "code", - "execution_count": 92, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "ec0cf93801554e8990cdf68c4dae9607", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output()" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "928aa585feec4205aeb24d1c6a3d0f5c", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "ToggleButtons(button_style='primary', options=('Total Collaboration', 'Boost Intra-Collab', 'Latest date', 'Av…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "style = {'description_width': 'initial'}\n", "\n", @@ -3336,22 +2666,9 @@ }, { "cell_type": "code", - "execution_count": 93, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "if len(diffIn1) < 1 and len(diffIn2) < 1:\n", "\n", @@ -3534,22 +2851,9 @@ }, { "cell_type": "code", - "execution_count": 94, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "if len(diffIn1) < 1 and len(diffIn2) < 1:\n", "\n", @@ -3571,24 +2875,9 @@ }, { "cell_type": "code", - "execution_count": 95, - "metadata": { - "scrolled": false - }, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "if len(diffIn1) < 1 and len(diffIn2) < 1:\n", " def color_missing(val):\n", @@ -3609,22 +2898,9 @@ }, { "cell_type": "code", - "execution_count": 96, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "root = './Final Files set/'\n", "if len(diffIn1) < 1 and len(diffIn2) < 1:\n", @@ -3655,34 +2931,9 @@ }, { "cell_type": "code", - "execution_count": 97, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "text/markdown": [ - "
Done: Your \"super\" interaction file (interactions.csv) along with the other 3 files(team_size.csv, space_capacity.csv, and distance.csv ) have successfully saved back to a new sub-directory inside the location of this Notebook! Folder name is [Final Files set].
" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/javascript": [ - "IPython.notebook.execute_cell_range(IPython.notebook.get_selected_index()+1, IPython.notebook.get_selected_index()+2)" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "if len(diffIn1) < 1 and len(diffIn2) < 1:\n", " display(Markdown(saveintxfinsh))\n", @@ -3694,24 +2945,9 @@ }, { "cell_type": "code", - "execution_count": 98, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "cb8f95626d1a4c9eb309c9d0c56d78cc", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Button(button_style='info', description='Open Generate Floorplan Notebook', layout=Layout(width='300px'), styl…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "style2 = {'description_width': '425px'}\n", "layout2 = {'width': '300px'}\n", @@ -3727,30 +2963,9 @@ }, { "cell_type": "code", - "execution_count": 99, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/javascript": [ - "var name_of_the_notebook = 'WPP.Generate-Floorplan_PIPE-003_v2.1.1.ipynb'\n", - "var url = window.location.href.split('/')\n", - "var newurl = url[0] + '//'\n", - "for (var i = 1; i < url.length - 1; i++) {\n", - " console.log(url[i], newurl)\n", - " newurl += url[i] + '/'\n", - "}\n", - "newurl += name_of_the_notebook\n", - "window.open(newurl)\n" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "%%javascript\n", "var name_of_the_notebook = 'WPP.Generate-Floorplan_PIPE-003_v2.1.1.ipynb'\n", @@ -3766,7 +2981,7 @@ }, { "cell_type": "code", - "execution_count": 100, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -3776,7 +2991,7 @@ }, { "cell_type": "code", - "execution_count": 101, + "execution_count": null, "metadata": {}, "outputs": [], "source": [