From d211e6c1c13af58b2a685f8756c7ecea9739e5a5 Mon Sep 17 00:00:00 2001 From: jdebacker Date: Mon, 23 Dec 2024 14:06:22 -0500 Subject: [PATCH] update demos for new dp object --- docs/book/content/examples/PSL_demo.ipynb | 1357 ++++++----------- .../content/examples/TCJA_extension.ipynb | 158 +- 2 files changed, 576 insertions(+), 939 deletions(-) diff --git a/docs/book/content/examples/PSL_demo.ipynb b/docs/book/content/examples/PSL_demo.ipynb index a5131f8f..dd623850 100644 --- a/docs/book/content/examples/PSL_demo.ipynb +++ b/docs/book/content/examples/PSL_demo.ipynb @@ -20,9 +20,39 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 1, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Requirement already satisfied: cost-of-capital-calculator in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (1.5.2)\n", + "Requirement already satisfied: taxcalc in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from cost-of-capital-calculator) (4.4.0)\n", + "Requirement already satisfied: pandas in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from cost-of-capital-calculator) (2.2.2)\n", + "Requirement already satisfied: bokeh in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from cost-of-capital-calculator) (3.3.4)\n", + "Requirement already satisfied: numpy in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from cost-of-capital-calculator) (1.26.4)\n", + "Requirement already satisfied: paramtools in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from cost-of-capital-calculator) (0.19.0)\n", + "Requirement already satisfied: Jinja2>=2.9 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from bokeh->cost-of-capital-calculator) (3.1.4)\n", + "Requirement already satisfied: contourpy>=1 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from bokeh->cost-of-capital-calculator) (1.2.0)\n", + "Requirement already satisfied: packaging>=16.8 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from bokeh->cost-of-capital-calculator) (24.1)\n", + "Requirement already satisfied: pillow>=7.1.0 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from bokeh->cost-of-capital-calculator) (10.4.0)\n", + "Requirement already satisfied: PyYAML>=3.10 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from bokeh->cost-of-capital-calculator) (6.0.1)\n", + "Requirement already satisfied: tornado>=5.1 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from bokeh->cost-of-capital-calculator) (6.4.1)\n", + "Requirement already satisfied: xyzservices>=2021.09.1 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from bokeh->cost-of-capital-calculator) (2022.9.0)\n", + "Requirement already satisfied: python-dateutil>=2.8.2 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from pandas->cost-of-capital-calculator) (2.9.0.post0)\n", + "Requirement already satisfied: pytz>=2020.1 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from pandas->cost-of-capital-calculator) (2024.1)\n", + "Requirement already satisfied: tzdata>=2022.7 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from pandas->cost-of-capital-calculator) (2023.3)\n", + "Requirement already satisfied: marshmallow>=3.0.0 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from paramtools->cost-of-capital-calculator) (3.19.0)\n", + "Requirement already satisfied: fsspec in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from paramtools->cost-of-capital-calculator) (2024.6.1)\n", + "Requirement already satisfied: sortedcontainers in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from paramtools->cost-of-capital-calculator) (2.4.0)\n", + "Requirement already satisfied: numba in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from taxcalc->cost-of-capital-calculator) (0.59.0)\n", + "Requirement already satisfied: MarkupSafe>=2.0 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from Jinja2>=2.9->bokeh->cost-of-capital-calculator) (2.1.3)\n", + "Requirement already satisfied: six>=1.5 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from python-dateutil>=2.8.2->pandas->cost-of-capital-calculator) (1.16.0)\n", + "Requirement already satisfied: llvmlite<0.43,>=0.42.0dev0 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from numba->taxcalc->cost-of-capital-calculator) (0.42.0)\n" + ] + } + ], "source": [ "# To install ccc package (if not already):\n", "import sys\n", @@ -32,7 +62,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 2, "metadata": {}, "outputs": [ { @@ -48,7 +78,7 @@ " \n", "
\n", " \n", - " Loading BokehJS ...\n", + " Loading BokehJS ...\n", "
\n" ] }, @@ -57,7 +87,7 @@ }, { "data": { - "application/javascript": "(function(root) {\n function now() {\n return new Date();\n }\n\n const force = true;\n\n if (typeof root._bokeh_onload_callbacks === \"undefined\" || force === true) {\n root._bokeh_onload_callbacks = [];\n root._bokeh_is_loading = undefined;\n }\n\nconst JS_MIME_TYPE = 'application/javascript';\n const HTML_MIME_TYPE = 'text/html';\n const EXEC_MIME_TYPE = 'application/vnd.bokehjs_exec.v0+json';\n const CLASS_NAME = 'output_bokeh rendered_html';\n\n /**\n * Render data to the DOM node\n */\n function render(props, node) {\n const script = document.createElement(\"script\");\n node.appendChild(script);\n }\n\n /**\n * Handle when an output is cleared or removed\n */\n function handleClearOutput(event, handle) {\n function drop(id) {\n const view = Bokeh.index.get_by_id(id)\n if (view != null) {\n view.model.document.clear()\n Bokeh.index.delete(view)\n }\n }\n\n const cell = handle.cell;\n\n const id = cell.output_area._bokeh_element_id;\n const server_id = cell.output_area._bokeh_server_id;\n\n // Clean up Bokeh references\n if (id != null) {\n drop(id)\n }\n\n if (server_id !== undefined) {\n // Clean up Bokeh references\n const cmd_clean = \"from bokeh.io.state import curstate; print(curstate().uuid_to_server['\" + server_id + \"'].get_sessions()[0].document.roots[0]._id)\";\n cell.notebook.kernel.execute(cmd_clean, {\n iopub: {\n output: function(msg) {\n const id = msg.content.text.trim()\n drop(id)\n }\n }\n });\n // Destroy server and session\n const cmd_destroy = \"import bokeh.io.notebook as ion; ion.destroy_server('\" + server_id + \"')\";\n cell.notebook.kernel.execute(cmd_destroy);\n }\n }\n\n /**\n * Handle when a new output is added\n */\n function handleAddOutput(event, handle) {\n const output_area = handle.output_area;\n const output = handle.output;\n\n // limit handleAddOutput to display_data with EXEC_MIME_TYPE content only\n if ((output.output_type != \"display_data\") || (!Object.prototype.hasOwnProperty.call(output.data, EXEC_MIME_TYPE))) {\n return\n }\n\n const toinsert = output_area.element.find(\".\" + CLASS_NAME.split(' ')[0]);\n\n if (output.metadata[EXEC_MIME_TYPE][\"id\"] !== undefined) {\n toinsert[toinsert.length - 1].firstChild.textContent = output.data[JS_MIME_TYPE];\n // store reference to embed id on output_area\n output_area._bokeh_element_id = output.metadata[EXEC_MIME_TYPE][\"id\"];\n }\n if (output.metadata[EXEC_MIME_TYPE][\"server_id\"] !== undefined) {\n const bk_div = document.createElement(\"div\");\n bk_div.innerHTML = output.data[HTML_MIME_TYPE];\n const script_attrs = bk_div.children[0].attributes;\n for (let i = 0; i < script_attrs.length; i++) {\n toinsert[toinsert.length - 1].firstChild.setAttribute(script_attrs[i].name, script_attrs[i].value);\n toinsert[toinsert.length - 1].firstChild.textContent = bk_div.children[0].textContent\n }\n // store reference to server id on output_area\n output_area._bokeh_server_id = output.metadata[EXEC_MIME_TYPE][\"server_id\"];\n }\n }\n\n function register_renderer(events, OutputArea) {\n\n function append_mime(data, metadata, element) {\n // create a DOM node to render to\n const toinsert = this.create_output_subarea(\n metadata,\n CLASS_NAME,\n EXEC_MIME_TYPE\n );\n this.keyboard_manager.register_events(toinsert);\n // Render to node\n const props = {data: data, metadata: metadata[EXEC_MIME_TYPE]};\n render(props, toinsert[toinsert.length - 1]);\n element.append(toinsert);\n return toinsert\n }\n\n /* Handle when an output is cleared or removed */\n events.on('clear_output.CodeCell', handleClearOutput);\n events.on('delete.Cell', handleClearOutput);\n\n /* Handle when a new output is added */\n events.on('output_added.OutputArea', handleAddOutput);\n\n /**\n * Register the mime type and append_mime function with output_area\n */\n OutputArea.prototype.register_mime_type(EXEC_MIME_TYPE, append_mime, {\n /* Is output safe? */\n safe: true,\n /* Index of renderer in `output_area.display_order` */\n index: 0\n });\n }\n\n // register the mime type if in Jupyter Notebook environment and previously unregistered\n if (root.Jupyter !== undefined) {\n const events = require('base/js/events');\n const OutputArea = require('notebook/js/outputarea').OutputArea;\n\n if (OutputArea.prototype.mime_types().indexOf(EXEC_MIME_TYPE) == -1) {\n register_renderer(events, OutputArea);\n }\n }\n if (typeof (root._bokeh_timeout) === \"undefined\" || force === true) {\n root._bokeh_timeout = Date.now() + 5000;\n root._bokeh_failed_load = false;\n }\n\n const NB_LOAD_WARNING = {'data': {'text/html':\n \"
\\n\"+\n \"

\\n\"+\n \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n \"

\\n\"+\n \"\\n\"+\n \"\\n\"+\n \"from bokeh.resources import INLINE\\n\"+\n \"output_notebook(resources=INLINE)\\n\"+\n \"\\n\"+\n \"
\"}};\n\n function display_loaded() {\n const el = document.getElementById(\"de96cb22-398b-407f-b358-b6c4d9379778\");\n if (el != null) {\n el.textContent = \"BokehJS is loading...\";\n }\n if (root.Bokeh !== undefined) {\n if (el != null) {\n el.textContent = \"BokehJS \" + root.Bokeh.version + \" successfully loaded.\";\n }\n } else if (Date.now() < root._bokeh_timeout) {\n setTimeout(display_loaded, 100)\n }\n }\n\n function run_callbacks() {\n try {\n root._bokeh_onload_callbacks.forEach(function(callback) {\n if (callback != null)\n callback();\n });\n } finally {\n delete root._bokeh_onload_callbacks\n }\n console.debug(\"Bokeh: all callbacks have finished\");\n }\n\n function load_libs(css_urls, js_urls, callback) {\n if (css_urls == null) css_urls = [];\n if (js_urls == null) js_urls = [];\n\n root._bokeh_onload_callbacks.push(callback);\n if (root._bokeh_is_loading > 0) {\n console.debug(\"Bokeh: BokehJS is being loaded, scheduling callback at\", now());\n return null;\n }\n if (js_urls == null || js_urls.length === 0) {\n run_callbacks();\n return null;\n }\n console.debug(\"Bokeh: BokehJS not loaded, scheduling load and callback at\", now());\n root._bokeh_is_loading = css_urls.length + js_urls.length;\n\n function on_load() {\n root._bokeh_is_loading--;\n if (root._bokeh_is_loading === 0) {\n console.debug(\"Bokeh: all BokehJS libraries/stylesheets loaded\");\n run_callbacks()\n }\n }\n\n function on_error(url) {\n console.error(\"failed to load \" + url);\n }\n\n for (let i = 0; i < css_urls.length; i++) {\n const url = css_urls[i];\n const element = document.createElement(\"link\");\n element.onload = on_load;\n element.onerror = on_error.bind(null, url);\n element.rel = \"stylesheet\";\n element.type = \"text/css\";\n element.href = url;\n console.debug(\"Bokeh: injecting link tag for BokehJS stylesheet: \", url);\n document.body.appendChild(element);\n }\n\n for (let i = 0; i < js_urls.length; i++) {\n const url = js_urls[i];\n const element = document.createElement('script');\n element.onload = on_load;\n element.onerror = on_error.bind(null, url);\n element.async = false;\n element.src = url;\n console.debug(\"Bokeh: injecting script tag for BokehJS library: \", url);\n document.head.appendChild(element);\n }\n };\n\n function inject_raw_css(css) {\n const element = document.createElement(\"style\");\n element.appendChild(document.createTextNode(css));\n document.body.appendChild(element);\n }\n\n const js_urls = [\"https://cdn.bokeh.org/bokeh/release/bokeh-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-gl-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-3.3.4.min.js\"];\n const css_urls = [];\n\n const inline_js = [ function(Bokeh) {\n Bokeh.set_log_level(\"info\");\n },\nfunction(Bokeh) {\n }\n ];\n\n function run_inline_js() {\n if (root.Bokeh !== undefined || force === true) {\n for (let i = 0; i < inline_js.length; i++) {\n inline_js[i].call(root, root.Bokeh);\n }\nif (force === true) {\n display_loaded();\n }} else if (Date.now() < root._bokeh_timeout) {\n setTimeout(run_inline_js, 100);\n } else if (!root._bokeh_failed_load) {\n console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n root._bokeh_failed_load = true;\n } else if (force !== true) {\n const cell = $(document.getElementById(\"de96cb22-398b-407f-b358-b6c4d9379778\")).parents('.cell').data().cell;\n cell.output_area.append_execute_result(NB_LOAD_WARNING)\n }\n }\n\n if (root._bokeh_is_loading === 0) {\n console.debug(\"Bokeh: BokehJS loaded, going straight to plotting\");\n run_inline_js();\n } else {\n load_libs(css_urls, js_urls, function() {\n console.debug(\"Bokeh: BokehJS plotting callback run at\", now());\n run_inline_js();\n });\n }\n}(window));", + "application/javascript": "(function(root) {\n function now() {\n return new Date();\n }\n\n const force = true;\n\n if (typeof root._bokeh_onload_callbacks === \"undefined\" || force === true) {\n root._bokeh_onload_callbacks = [];\n root._bokeh_is_loading = undefined;\n }\n\nconst JS_MIME_TYPE = 'application/javascript';\n const HTML_MIME_TYPE = 'text/html';\n const EXEC_MIME_TYPE = 'application/vnd.bokehjs_exec.v0+json';\n const CLASS_NAME = 'output_bokeh rendered_html';\n\n /**\n * Render data to the DOM node\n */\n function render(props, node) {\n const script = document.createElement(\"script\");\n node.appendChild(script);\n }\n\n /**\n * Handle when an output is cleared or removed\n */\n function handleClearOutput(event, handle) {\n function drop(id) {\n const view = Bokeh.index.get_by_id(id)\n if (view != null) {\n view.model.document.clear()\n Bokeh.index.delete(view)\n }\n }\n\n const cell = handle.cell;\n\n const id = cell.output_area._bokeh_element_id;\n const server_id = cell.output_area._bokeh_server_id;\n\n // Clean up Bokeh references\n if (id != null) {\n drop(id)\n }\n\n if (server_id !== undefined) {\n // Clean up Bokeh references\n const cmd_clean = \"from bokeh.io.state import curstate; print(curstate().uuid_to_server['\" + server_id + \"'].get_sessions()[0].document.roots[0]._id)\";\n cell.notebook.kernel.execute(cmd_clean, {\n iopub: {\n output: function(msg) {\n const id = msg.content.text.trim()\n drop(id)\n }\n }\n });\n // Destroy server and session\n const cmd_destroy = \"import bokeh.io.notebook as ion; ion.destroy_server('\" + server_id + \"')\";\n cell.notebook.kernel.execute(cmd_destroy);\n }\n }\n\n /**\n * Handle when a new output is added\n */\n function handleAddOutput(event, handle) {\n const output_area = handle.output_area;\n const output = handle.output;\n\n // limit handleAddOutput to display_data with EXEC_MIME_TYPE content only\n if ((output.output_type != \"display_data\") || (!Object.prototype.hasOwnProperty.call(output.data, EXEC_MIME_TYPE))) {\n return\n }\n\n const toinsert = output_area.element.find(\".\" + CLASS_NAME.split(' ')[0]);\n\n if (output.metadata[EXEC_MIME_TYPE][\"id\"] !== undefined) {\n toinsert[toinsert.length - 1].firstChild.textContent = output.data[JS_MIME_TYPE];\n // store reference to embed id on output_area\n output_area._bokeh_element_id = output.metadata[EXEC_MIME_TYPE][\"id\"];\n }\n if (output.metadata[EXEC_MIME_TYPE][\"server_id\"] !== undefined) {\n const bk_div = document.createElement(\"div\");\n bk_div.innerHTML = output.data[HTML_MIME_TYPE];\n const script_attrs = bk_div.children[0].attributes;\n for (let i = 0; i < script_attrs.length; i++) {\n toinsert[toinsert.length - 1].firstChild.setAttribute(script_attrs[i].name, script_attrs[i].value);\n toinsert[toinsert.length - 1].firstChild.textContent = bk_div.children[0].textContent\n }\n // store reference to server id on output_area\n output_area._bokeh_server_id = output.metadata[EXEC_MIME_TYPE][\"server_id\"];\n }\n }\n\n function register_renderer(events, OutputArea) {\n\n function append_mime(data, metadata, element) {\n // create a DOM node to render to\n const toinsert = this.create_output_subarea(\n metadata,\n CLASS_NAME,\n EXEC_MIME_TYPE\n );\n this.keyboard_manager.register_events(toinsert);\n // Render to node\n const props = {data: data, metadata: metadata[EXEC_MIME_TYPE]};\n render(props, toinsert[toinsert.length - 1]);\n element.append(toinsert);\n return toinsert\n }\n\n /* Handle when an output is cleared or removed */\n events.on('clear_output.CodeCell', handleClearOutput);\n events.on('delete.Cell', handleClearOutput);\n\n /* Handle when a new output is added */\n events.on('output_added.OutputArea', handleAddOutput);\n\n /**\n * Register the mime type and append_mime function with output_area\n */\n OutputArea.prototype.register_mime_type(EXEC_MIME_TYPE, append_mime, {\n /* Is output safe? */\n safe: true,\n /* Index of renderer in `output_area.display_order` */\n index: 0\n });\n }\n\n // register the mime type if in Jupyter Notebook environment and previously unregistered\n if (root.Jupyter !== undefined) {\n const events = require('base/js/events');\n const OutputArea = require('notebook/js/outputarea').OutputArea;\n\n if (OutputArea.prototype.mime_types().indexOf(EXEC_MIME_TYPE) == -1) {\n register_renderer(events, OutputArea);\n }\n }\n if (typeof (root._bokeh_timeout) === \"undefined\" || force === true) {\n root._bokeh_timeout = Date.now() + 5000;\n root._bokeh_failed_load = false;\n }\n\n const NB_LOAD_WARNING = {'data': {'text/html':\n \"
\\n\"+\n \"

\\n\"+\n \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n \"

\\n\"+\n \"\\n\"+\n \"\\n\"+\n \"from bokeh.resources import INLINE\\n\"+\n \"output_notebook(resources=INLINE)\\n\"+\n \"\\n\"+\n \"
\"}};\n\n function display_loaded() {\n const el = document.getElementById(\"faf249b2-9a24-427f-a075-66e830953f44\");\n if (el != null) {\n el.textContent = \"BokehJS is loading...\";\n }\n if (root.Bokeh !== undefined) {\n if (el != null) {\n el.textContent = \"BokehJS \" + root.Bokeh.version + \" successfully loaded.\";\n }\n } else if (Date.now() < root._bokeh_timeout) {\n setTimeout(display_loaded, 100)\n }\n }\n\n function run_callbacks() {\n try {\n root._bokeh_onload_callbacks.forEach(function(callback) {\n if (callback != null)\n callback();\n });\n } finally {\n delete root._bokeh_onload_callbacks\n }\n console.debug(\"Bokeh: all callbacks have finished\");\n }\n\n function load_libs(css_urls, js_urls, callback) {\n if (css_urls == null) css_urls = [];\n if (js_urls == null) js_urls = [];\n\n root._bokeh_onload_callbacks.push(callback);\n if (root._bokeh_is_loading > 0) {\n console.debug(\"Bokeh: BokehJS is being loaded, scheduling callback at\", now());\n return null;\n }\n if (js_urls == null || js_urls.length === 0) {\n run_callbacks();\n return null;\n }\n console.debug(\"Bokeh: BokehJS not loaded, scheduling load and callback at\", now());\n root._bokeh_is_loading = css_urls.length + js_urls.length;\n\n function on_load() {\n root._bokeh_is_loading--;\n if (root._bokeh_is_loading === 0) {\n console.debug(\"Bokeh: all BokehJS libraries/stylesheets loaded\");\n run_callbacks()\n }\n }\n\n function on_error(url) {\n console.error(\"failed to load \" + url);\n }\n\n for (let i = 0; i < css_urls.length; i++) {\n const url = css_urls[i];\n const element = document.createElement(\"link\");\n element.onload = on_load;\n element.onerror = on_error.bind(null, url);\n element.rel = \"stylesheet\";\n element.type = \"text/css\";\n element.href = url;\n console.debug(\"Bokeh: injecting link tag for BokehJS stylesheet: \", url);\n document.body.appendChild(element);\n }\n\n for (let i = 0; i < js_urls.length; i++) {\n const url = js_urls[i];\n const element = document.createElement('script');\n element.onload = on_load;\n element.onerror = on_error.bind(null, url);\n element.async = false;\n element.src = url;\n console.debug(\"Bokeh: injecting script tag for BokehJS library: \", url);\n document.head.appendChild(element);\n }\n };\n\n function inject_raw_css(css) {\n const element = document.createElement(\"style\");\n element.appendChild(document.createTextNode(css));\n document.body.appendChild(element);\n }\n\n const js_urls = [\"https://cdn.bokeh.org/bokeh/release/bokeh-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-gl-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-3.3.4.min.js\"];\n const css_urls = [];\n\n const inline_js = [ function(Bokeh) {\n Bokeh.set_log_level(\"info\");\n },\nfunction(Bokeh) {\n }\n ];\n\n function run_inline_js() {\n if (root.Bokeh !== undefined || force === true) {\n for (let i = 0; i < inline_js.length; i++) {\n inline_js[i].call(root, root.Bokeh);\n }\nif (force === true) {\n display_loaded();\n }} else if (Date.now() < root._bokeh_timeout) {\n setTimeout(run_inline_js, 100);\n } else if (!root._bokeh_failed_load) {\n console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n root._bokeh_failed_load = true;\n } else if (force !== true) {\n const cell = $(document.getElementById(\"faf249b2-9a24-427f-a075-66e830953f44\")).parents('.cell').data().cell;\n cell.output_area.append_execute_result(NB_LOAD_WARNING)\n }\n }\n\n if (root._bokeh_is_loading === 0) {\n console.debug(\"Bokeh: BokehJS loaded, going straight to plotting\");\n run_inline_js();\n } else {\n load_libs(css_urls, js_urls, function() {\n console.debug(\"Bokeh: BokehJS plotting callback run at\", now());\n run_inline_js();\n });\n }\n}(window));", "application/vnd.bokehjs_load.v0+json": "" }, "metadata": {}, @@ -89,7 +119,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 3, "metadata": {}, "outputs": [ { @@ -244,7 +274,7 @@ "4 Aerospace products and parts manufacturing 0.22 " ] }, - "execution_count": 6, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -273,26 +303,27 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 4, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ + "Using CPS\n", "Calculator initial year = 2014\n", "Calculator year = 2024\n", "year: 2024\n", - "{'tau_pt': array([0.20147244]), 'tau_div': array([0.1723512]), 'tau_int': array([0.31217545]), 'tau_scg': array([0.28524757]), 'tau_lcg': array([0.184897]), 'tau_td': array([0.204116]), 'tau_h': array([0.03463544])}\n" + "{'tau_pt': array([0.30514124]), 'tau_div': array([0.17460724]), 'tau_int': array([0.31309077]), 'tau_scg': array([0.28526829]), 'tau_lcg': array([0.18438764]), 'tau_td': array([0.20617536]), 'tau_h': array([0.03500787])}\n" ] }, { "data": { "text/plain": [ - "{'c': array([0.21]), 'pt': array([0.20147244])}" + "{'c': array([0.21]), 'pt': array([0.30514124])}" ] }, - "execution_count": 7, + "execution_count": 4, "metadata": {}, "output_type": "execute_result" } @@ -307,24 +338,17 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 5, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "OrderedDict([('value', {'life': 5.0, 'method': 'DB 200%'}),\n", - " ('asset_name', 'Mainframes'),\n", - " ('BEA_code', 'EP1A'),\n", - " ('minor_asset_group', 'Computers and Software'),\n", - " ('major_asset_group', 'Equipment'),\n", - " ('ADS_life', 5.0),\n", - " ('GDS_life', 5.0),\n", - " ('system', 'GDS'),\n", - " ('year', 2020)])" + "[OrderedDict([('value', {'method': 'DB 200%', 'life': 5.0, 'system': 'GDS'}),\n", + " ('year', 2013)])]" ] }, - "execution_count": 8, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -333,7 +357,7 @@ "# Create an instance of the DepreciationParams class\n", "dp = DepreciationParams()\n", "# Look at an attribute of the dp object\n", - "dp.asset[0]" + "dp.EP1A" ] }, { @@ -349,7 +373,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 6, "metadata": {}, "outputs": [], "source": [ @@ -368,7 +392,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 7, "metadata": {}, "outputs": [ { @@ -539,7 +563,7 @@ "18 Other services, except government 0.343467 0.656533" ] }, - "execution_count": 10, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } @@ -562,7 +586,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 8, "metadata": {}, "outputs": [], "source": [ @@ -585,7 +609,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 9, "metadata": {}, "outputs": [ { @@ -619,51 +643,51 @@ " \n", " 0\n", " Overall\n", - " 18.563352\n", - " 24.710063\n", - " 6.146711\n", + " 21.526876\n", + " 36.559180\n", + " 15.032303\n", " \n", " \n", " 1\n", " Corporations\n", - " 19.197626\n", - " 27.536312\n", - " 8.338686\n", + " 19.289825\n", + " 42.290696\n", + " 23.000871\n", " \n", " \n", " 2\n", " Equity Financed\n", - " 22.052902\n", - " 34.270098\n", - " 12.217196\n", + " 22.125764\n", + " 46.019861\n", + " 23.894097\n", " \n", " \n", " 3\n", " Debt Financed\n", - " 8.933048\n", - " -5.186307\n", - " -14.119355\n", + " 9.098922\n", + " 26.810908\n", + " 17.711986\n", " \n", " \n", " 4\n", " Pass-Through Entities\n", - " 19.312399\n", - " 22.497415\n", - " 3.185016\n", + " 25.445118\n", + " 29.374410\n", + " 3.929292\n", " \n", " \n", " 5\n", " Equity Financed\n", - " 17.629037\n", - " 22.436954\n", - " 4.807917\n", + " 27.142495\n", + " 32.437430\n", + " 5.294935\n", " \n", " \n", " 6\n", " Debt Financed\n", - " 25.652332\n", - " 22.875706\n", - " -2.776626\n", + " 17.726241\n", + " 13.580154\n", + " -4.146087\n", " \n", " \n", "\n", @@ -680,34 +704,34 @@ "6 Debt Financed \n", "\n", " Marginal Effective Total Tax Rate Under Baseline Policy \\\n", - "0 18.563352 \n", - "1 19.197626 \n", - "2 22.052902 \n", - "3 8.933048 \n", - "4 19.312399 \n", - "5 17.629037 \n", - "6 25.652332 \n", + "0 21.526876 \n", + "1 19.289825 \n", + "2 22.125764 \n", + "3 9.098922 \n", + "4 25.445118 \n", + "5 27.142495 \n", + "6 17.726241 \n", "\n", " Marginal Effective Total Tax Rate Under Reform Policy \\\n", - "0 24.710063 \n", - "1 27.536312 \n", - "2 34.270098 \n", - "3 -5.186307 \n", - "4 22.497415 \n", - "5 22.436954 \n", - "6 22.875706 \n", + "0 36.559180 \n", + "1 42.290696 \n", + "2 46.019861 \n", + "3 26.810908 \n", + "4 29.374410 \n", + "5 32.437430 \n", + "6 13.580154 \n", "\n", " Change from Baseline (pp) \n", - "0 6.146711 \n", - "1 8.338686 \n", - "2 12.217196 \n", - "3 -14.119355 \n", - "4 3.185016 \n", - "5 4.807917 \n", - "6 -2.776626 " + "0 15.032303 \n", + "1 23.000871 \n", + "2 23.894097 \n", + "3 17.711986 \n", + "4 3.929292 \n", + "5 5.294935 \n", + "6 -4.146087 " ] }, - "execution_count": 12, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } @@ -726,7 +750,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 10, "metadata": {}, "outputs": [ { @@ -760,51 +784,51 @@ " \n", " 0\n", " Overall\n", - " 5.777634\n", - " 6.249323\n", - " 0.471689\n", + " 5.991266\n", + " 7.410897\n", + " 1.419631\n", " \n", " \n", " 1\n", " Corporations\n", - " 5.822987\n", - " 6.493061\n", - " 0.670074\n", + " 5.825206\n", + " 8.146925\n", + " 2.321719\n", " \n", " \n", " 2\n", " Equity Financed\n", - " 6.719745\n", - " 7.968742\n", - " 1.248997\n", + " 6.721989\n", + " 9.697451\n", + " 2.975462\n", " \n", " \n", " 3\n", " Debt Financed\n", - " 3.923541\n", - " 3.396877\n", - " -0.526664\n", + " 3.925764\n", + " 4.875811\n", + " 0.950047\n", " \n", " \n", " 4\n", " Pass-Through Entities\n", - " 5.723574\n", - " 5.958787\n", - " 0.235214\n", + " 6.189211\n", + " 6.533551\n", + " 0.344340\n", " \n", " \n", " 5\n", " Equity Financed\n", - " 6.358851\n", - " 6.753018\n", - " 0.394167\n", + " 7.184843\n", + " 7.747925\n", + " 0.563082\n", " \n", " \n", " 6\n", " Debt Financed\n", - " 4.171191\n", - " 4.021020\n", - " -0.150171\n", + " 3.762559\n", + " 3.582046\n", + " -0.180513\n", " \n", " \n", "\n", @@ -812,25 +836,25 @@ ], "text/plain": [ " Cost of Capital Under Baseline Policy \\\n", - "0 Overall 5.777634 \n", - "1 Corporations 5.822987 \n", - "2 Equity Financed 6.719745 \n", - "3 Debt Financed 3.923541 \n", - "4 Pass-Through Entities 5.723574 \n", - "5 Equity Financed 6.358851 \n", - "6 Debt Financed 4.171191 \n", + "0 Overall 5.991266 \n", + "1 Corporations 5.825206 \n", + "2 Equity Financed 6.721989 \n", + "3 Debt Financed 3.925764 \n", + "4 Pass-Through Entities 6.189211 \n", + "5 Equity Financed 7.184843 \n", + "6 Debt Financed 3.762559 \n", "\n", " Cost of Capital Under Reform Policy Change from Baseline (pp) \n", - "0 6.249323 0.471689 \n", - "1 6.493061 0.670074 \n", - "2 7.968742 1.248997 \n", - "3 3.396877 -0.526664 \n", - "4 5.958787 0.235214 \n", - "5 6.753018 0.394167 \n", - "6 4.021020 -0.150171 " + "0 7.410897 1.419631 \n", + "1 8.146925 2.321719 \n", + "2 9.697451 2.975462 \n", + "3 4.875811 0.950047 \n", + "4 6.533551 0.344340 \n", + "5 7.747925 0.563082 \n", + "6 3.582046 -0.180513 " ] }, - "execution_count": 13, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } @@ -849,32 +873,9 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 11, "metadata": {}, - "outputs": [ - { - "ename": "DeprecationWarning", - "evalue": "datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).", - "output_type": "error", - "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mDeprecationWarning\u001b[0m Traceback (most recent call last)", - "Cell \u001b[0;32mIn[14], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;66;03m# Save these results to disk\u001b[39;00m\n\u001b[0;32m----> 2\u001b[0m \u001b[43mcalc1\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43msummary_table\u001b[49m\u001b[43m(\u001b[49m\u001b[43mcalc2\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43moutput_variable\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[38;5;124;43mrho\u001b[39;49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43moutput_type\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[38;5;124;43mexcel\u001b[39;49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mpath\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[38;5;124;43mcc_table.xlsx\u001b[39;49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[43m)\u001b[49m\n", - "File \u001b[0;32m~/repos/CCC/ccc/calculator.py:526\u001b[0m, in \u001b[0;36mCalculator.summary_table\u001b[0;34m(self, calc, output_variable, include_land, include_inventories, output_type, path)\u001b[0m\n\u001b[1;32m 524\u001b[0m table_df[VAR_DICT[output_variable] \u001b[38;5;241m+\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m Under Reform Policy\u001b[39m\u001b[38;5;124m\"\u001b[39m] \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m=\u001b[39m \u001b[38;5;241m100\u001b[39m\n\u001b[1;32m 525\u001b[0m table_df[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mChange from Baseline (pp)\u001b[39m\u001b[38;5;124m\"\u001b[39m] \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m=\u001b[39m \u001b[38;5;241m100\u001b[39m\n\u001b[0;32m--> 526\u001b[0m table \u001b[38;5;241m=\u001b[39m \u001b[43msave_return_table\u001b[49m\u001b[43m(\u001b[49m\u001b[43mtable_df\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43moutput_type\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mpath\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 528\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m table\n", - "File \u001b[0;32m~/repos/CCC/ccc/utils.py:264\u001b[0m, in \u001b[0;36msave_return_table\u001b[0;34m(table_df, output_type, path, precision)\u001b[0m\n\u001b[1;32m 262\u001b[0m table_df\u001b[38;5;241m.\u001b[39mto_json(path_or_buf\u001b[38;5;241m=\u001b[39mpath, double_precision\u001b[38;5;241m=\u001b[39mprecision)\n\u001b[1;32m 263\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m output_type \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mexcel\u001b[39m\u001b[38;5;124m\"\u001b[39m:\n\u001b[0;32m--> 264\u001b[0m \u001b[43mtable_df\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mto_excel\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 265\u001b[0m \u001b[43m \u001b[49m\u001b[43mexcel_writer\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mpath\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 266\u001b[0m \u001b[43m \u001b[49m\u001b[43mindex\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mFalse\u001b[39;49;00m\u001b[43m,\u001b[49m\n\u001b[1;32m 267\u001b[0m \u001b[43m \u001b[49m\u001b[43mna_rep\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m,\u001b[49m\n\u001b[1;32m 268\u001b[0m \u001b[43m \u001b[49m\u001b[43mfloat_format\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43m%\u001b[39;49m\u001b[38;5;124;43m.\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;241;43m+\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;28;43mstr\u001b[39;49m\u001b[43m(\u001b[49m\u001b[43mprecision\u001b[49m\u001b[43m)\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m+\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43m0f\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m,\u001b[49m\n\u001b[1;32m 269\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 270\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[1;32m 271\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mValueError\u001b[39;00m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mPlease enter a valid output format\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n", - "File \u001b[0;32m~/anaconda3/envs/ccc-dev/lib/python3.12/site-packages/pandas/util/_decorators.py:333\u001b[0m, in \u001b[0;36mdeprecate_nonkeyword_arguments..decorate..wrapper\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 327\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mlen\u001b[39m(args) \u001b[38;5;241m>\u001b[39m num_allow_args:\n\u001b[1;32m 328\u001b[0m warnings\u001b[38;5;241m.\u001b[39mwarn(\n\u001b[1;32m 329\u001b[0m msg\u001b[38;5;241m.\u001b[39mformat(arguments\u001b[38;5;241m=\u001b[39m_format_argument_list(allow_args)),\n\u001b[1;32m 330\u001b[0m \u001b[38;5;167;01mFutureWarning\u001b[39;00m,\n\u001b[1;32m 331\u001b[0m stacklevel\u001b[38;5;241m=\u001b[39mfind_stack_level(),\n\u001b[1;32m 332\u001b[0m )\n\u001b[0;32m--> 333\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mfunc\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n", - "File \u001b[0;32m~/anaconda3/envs/ccc-dev/lib/python3.12/site-packages/pandas/core/generic.py:2414\u001b[0m, in \u001b[0;36mNDFrame.to_excel\u001b[0;34m(self, excel_writer, sheet_name, na_rep, float_format, columns, header, index, index_label, startrow, startcol, engine, merge_cells, inf_rep, freeze_panes, storage_options, engine_kwargs)\u001b[0m\n\u001b[1;32m 2401\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mpandas\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mio\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mformats\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mexcel\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m ExcelFormatter\n\u001b[1;32m 2403\u001b[0m formatter \u001b[38;5;241m=\u001b[39m ExcelFormatter(\n\u001b[1;32m 2404\u001b[0m df,\n\u001b[1;32m 2405\u001b[0m na_rep\u001b[38;5;241m=\u001b[39mna_rep,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 2412\u001b[0m inf_rep\u001b[38;5;241m=\u001b[39minf_rep,\n\u001b[1;32m 2413\u001b[0m )\n\u001b[0;32m-> 2414\u001b[0m \u001b[43mformatter\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mwrite\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 2415\u001b[0m \u001b[43m \u001b[49m\u001b[43mexcel_writer\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 2416\u001b[0m \u001b[43m \u001b[49m\u001b[43msheet_name\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43msheet_name\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 2417\u001b[0m \u001b[43m \u001b[49m\u001b[43mstartrow\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mstartrow\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 2418\u001b[0m \u001b[43m \u001b[49m\u001b[43mstartcol\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mstartcol\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 2419\u001b[0m \u001b[43m \u001b[49m\u001b[43mfreeze_panes\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mfreeze_panes\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 2420\u001b[0m \u001b[43m \u001b[49m\u001b[43mengine\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mengine\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 2421\u001b[0m \u001b[43m \u001b[49m\u001b[43mstorage_options\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mstorage_options\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 2422\u001b[0m \u001b[43m \u001b[49m\u001b[43mengine_kwargs\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mengine_kwargs\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 2423\u001b[0m \u001b[43m\u001b[49m\u001b[43m)\u001b[49m\n", - "File \u001b[0;32m~/anaconda3/envs/ccc-dev/lib/python3.12/site-packages/pandas/io/formats/excel.py:943\u001b[0m, in \u001b[0;36mExcelFormatter.write\u001b[0;34m(self, writer, sheet_name, startrow, startcol, freeze_panes, engine, storage_options, engine_kwargs)\u001b[0m\n\u001b[1;32m 941\u001b[0m need_save \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mFalse\u001b[39;00m\n\u001b[1;32m 942\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m--> 943\u001b[0m writer \u001b[38;5;241m=\u001b[39m \u001b[43mExcelWriter\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 944\u001b[0m \u001b[43m \u001b[49m\u001b[43mwriter\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 945\u001b[0m \u001b[43m \u001b[49m\u001b[43mengine\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mengine\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 946\u001b[0m \u001b[43m \u001b[49m\u001b[43mstorage_options\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mstorage_options\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 947\u001b[0m \u001b[43m \u001b[49m\u001b[43mengine_kwargs\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mengine_kwargs\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 948\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 949\u001b[0m need_save \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mTrue\u001b[39;00m\n\u001b[1;32m 951\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n", - "File \u001b[0;32m~/anaconda3/envs/ccc-dev/lib/python3.12/site-packages/pandas/io/excel/_openpyxl.py:57\u001b[0m, in \u001b[0;36mOpenpyxlWriter.__init__\u001b[0;34m(self, path, engine, date_format, datetime_format, mode, storage_options, if_sheet_exists, engine_kwargs, **kwargs)\u001b[0m\n\u001b[1;32m 44\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m__init__\u001b[39m(\n\u001b[1;32m 45\u001b[0m \u001b[38;5;28mself\u001b[39m,\n\u001b[1;32m 46\u001b[0m path: FilePath \u001b[38;5;241m|\u001b[39m WriteExcelBuffer \u001b[38;5;241m|\u001b[39m ExcelWriter,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 55\u001b[0m ) \u001b[38;5;241m-\u001b[39m\u001b[38;5;241m>\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 56\u001b[0m \u001b[38;5;66;03m# Use the openpyxl module as the Excel writer.\u001b[39;00m\n\u001b[0;32m---> 57\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mopenpyxl\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mworkbook\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m Workbook\n\u001b[1;32m 59\u001b[0m engine_kwargs \u001b[38;5;241m=\u001b[39m combine_kwargs(engine_kwargs, kwargs)\n\u001b[1;32m 61\u001b[0m \u001b[38;5;28msuper\u001b[39m()\u001b[38;5;241m.\u001b[39m\u001b[38;5;21m__init__\u001b[39m(\n\u001b[1;32m 62\u001b[0m path,\n\u001b[1;32m 63\u001b[0m mode\u001b[38;5;241m=\u001b[39mmode,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 66\u001b[0m engine_kwargs\u001b[38;5;241m=\u001b[39mengine_kwargs,\n\u001b[1;32m 67\u001b[0m )\n", - "File \u001b[0;32m~/anaconda3/envs/ccc-dev/lib/python3.12/site-packages/openpyxl/__init__.py:6\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mopenpyxl\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mcompat\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mnumbers\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m NUMPY\n\u001b[1;32m 5\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mopenpyxl\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mxml\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m DEFUSEDXML, LXML\n\u001b[0;32m----> 6\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mopenpyxl\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mworkbook\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m Workbook\n\u001b[1;32m 7\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mopenpyxl\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mreader\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mexcel\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m load_workbook \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;28mopen\u001b[39m\n\u001b[1;32m 8\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mopenpyxl\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mreader\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mexcel\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m load_workbook\n", - "File \u001b[0;32m~/anaconda3/envs/ccc-dev/lib/python3.12/site-packages/openpyxl/workbook/__init__.py:4\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;66;03m# Copyright (c) 2010-2022 openpyxl\u001b[39;00m\n\u001b[0;32m----> 4\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mworkbook\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m Workbook\n", - "File \u001b[0;32m~/anaconda3/envs/ccc-dev/lib/python3.12/site-packages/openpyxl/workbook/workbook.py:33\u001b[0m\n\u001b[1;32m 31\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mopenpyxl\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mchartsheet\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m Chartsheet\n\u001b[1;32m 32\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mdefined_name\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m DefinedName, DefinedNameList\n\u001b[0;32m---> 33\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mopenpyxl\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mpackaging\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mcore\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m DocumentProperties\n\u001b[1;32m 34\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mopenpyxl\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mpackaging\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mrelationship\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m RelationshipList\n\u001b[1;32m 35\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mchild\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m _WorkbookChild\n", - "File \u001b[0;32m~/anaconda3/envs/ccc-dev/lib/python3.12/site-packages/openpyxl/packaging/core.py:47\u001b[0m\n\u001b[1;32m 43\u001b[0m el\u001b[38;5;241m.\u001b[39mset(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m{\u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m}type\u001b[39m\u001b[38;5;124m\"\u001b[39m \u001b[38;5;241m%\u001b[39m XSI_NS, QName(DCTERMS_NS, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mW3CDTF\u001b[39m\u001b[38;5;124m\"\u001b[39m))\n\u001b[1;32m 44\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m el\n\u001b[0;32m---> 47\u001b[0m \u001b[38;5;28;43;01mclass\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;21;43;01mDocumentProperties\u001b[39;49;00m\u001b[43m(\u001b[49m\u001b[43mSerialisable\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n\u001b[1;32m 48\u001b[0m \u001b[38;5;250;43m \u001b[39;49m\u001b[38;5;124;43;03m\"\"\"High-level properties of the document.\u001b[39;49;00m\n\u001b[1;32m 49\u001b[0m \u001b[38;5;124;43;03m Defined in ECMA-376 Par2 Annex D\u001b[39;49;00m\n\u001b[1;32m 50\u001b[0m \u001b[38;5;124;43;03m \"\"\"\u001b[39;49;00m\n\u001b[1;32m 52\u001b[0m \u001b[43m \u001b[49m\u001b[43mtagname\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mcoreProperties\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\n", - "File \u001b[0;32m~/anaconda3/envs/ccc-dev/lib/python3.12/site-packages/openpyxl/packaging/core.py:89\u001b[0m, in \u001b[0;36mDocumentProperties\u001b[0;34m()\u001b[0m\n\u001b[1;32m 73\u001b[0m modified \u001b[38;5;241m=\u001b[39m QualifiedDateTime(allow_none\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mTrue\u001b[39;00m, namespace\u001b[38;5;241m=\u001b[39mDCTERMS_NS)\n\u001b[1;32m 75\u001b[0m __elements__ \u001b[38;5;241m=\u001b[39m (\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcreator\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mtitle\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdescription\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124msubject\u001b[39m\u001b[38;5;124m\"\u001b[39m,\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124midentifier\u001b[39m\u001b[38;5;124m\"\u001b[39m,\n\u001b[1;32m 76\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mlanguage\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcreated\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mmodified\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mlastModifiedBy\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcategory\u001b[39m\u001b[38;5;124m\"\u001b[39m,\n\u001b[1;32m 77\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcontentStatus\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mversion\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mrevision\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mkeywords\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mlastPrinted\u001b[39m\u001b[38;5;124m\"\u001b[39m,\n\u001b[1;32m 78\u001b[0m )\n\u001b[1;32m 81\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m__init__\u001b[39m(\u001b[38;5;28mself\u001b[39m,\n\u001b[1;32m 82\u001b[0m category\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m,\n\u001b[1;32m 83\u001b[0m contentStatus\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m,\n\u001b[1;32m 84\u001b[0m keywords\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m,\n\u001b[1;32m 85\u001b[0m lastModifiedBy\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m,\n\u001b[1;32m 86\u001b[0m lastPrinted\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m,\n\u001b[1;32m 87\u001b[0m revision\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m,\n\u001b[1;32m 88\u001b[0m version\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m,\n\u001b[0;32m---> 89\u001b[0m created\u001b[38;5;241m=\u001b[39m\u001b[43mdatetime\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mdatetime\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mutcnow\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m,\n\u001b[1;32m 90\u001b[0m creator\u001b[38;5;241m=\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mopenpyxl\u001b[39m\u001b[38;5;124m\"\u001b[39m,\n\u001b[1;32m 91\u001b[0m description\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m,\n\u001b[1;32m 92\u001b[0m identifier\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m,\n\u001b[1;32m 93\u001b[0m language\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m,\n\u001b[1;32m 94\u001b[0m modified\u001b[38;5;241m=\u001b[39mdatetime\u001b[38;5;241m.\u001b[39mdatetime\u001b[38;5;241m.\u001b[39mutcnow(),\n\u001b[1;32m 95\u001b[0m subject\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m,\n\u001b[1;32m 96\u001b[0m title\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m,\n\u001b[1;32m 97\u001b[0m ):\n\u001b[1;32m 98\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mcontentStatus \u001b[38;5;241m=\u001b[39m contentStatus\n\u001b[1;32m 99\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mlastPrinted \u001b[38;5;241m=\u001b[39m lastPrinted\n", - "\u001b[0;31mDeprecationWarning\u001b[0m: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC)." - ] - } - ], + "outputs": [], "source": [ "# Save these results to disk\n", "calc1.summary_table(calc2, output_variable='rho', output_type='excel', path='cc_table.xlsx')" @@ -889,67 +890,9 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 12, "metadata": {}, "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "deprec_df value asset_name BEA_code \\\n", - "0 {'life': 5.0, 'method': 'DB 200%'} Mainframes EP1A \n", - "1 {'life': 5.0, 'method': 'DB 200%'} PCs EP1B \n", - "2 {'life': 5.0, 'method': 'DB 200%'} DASDs EP1C \n", - "3 {'life': 5.0, 'method': 'DB 200%'} Printers EP1D \n", - "4 {'life': 5.0, 'method': 'DB 200%'} Terminals EP1E \n", - "\n", - " minor_asset_group major_asset_group ADS_life GDS_life system year \n", - "0 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "1 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "2 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "3 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "4 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "deprec_df 2 asset_name BEA_code minor_asset_group major_asset_group ADS_life \\\n", - "0 Mainframes EP1A Computers and Software Equipment 5.0 \n", - "1 PCs EP1B Computers and Software Equipment 5.0 \n", - "2 DASDs EP1C Computers and Software Equipment 5.0 \n", - "3 Printers EP1D Computers and Software Equipment 5.0 \n", - "4 Terminals EP1E Computers and Software Equipment 5.0 \n", - "\n", - " GDS_life system year life method \n", - "0 5.0 GDS 2020 5.0 DB 200% \n", - "1 5.0 GDS 2020 5.0 DB 200% \n", - "2 5.0 GDS 2020 5.0 DB 200% \n", - "3 5.0 GDS 2020 5.0 DB 200% \n", - "4 5.0 GDS 2020 5.0 DB 200% \n", - "deprec_df value asset_name BEA_code \\\n", - "0 {'life': 5.0, 'method': 'DB 200%'} Mainframes EP1A \n", - "1 {'life': 5.0, 'method': 'DB 200%'} PCs EP1B \n", - "2 {'life': 5.0, 'method': 'DB 200%'} DASDs EP1C \n", - "3 {'life': 5.0, 'method': 'DB 200%'} Printers EP1D \n", - "4 {'life': 5.0, 'method': 'DB 200%'} Terminals EP1E \n", - "\n", - " minor_asset_group major_asset_group ADS_life GDS_life system year \n", - "0 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "1 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "2 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "3 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "4 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "deprec_df 2 asset_name BEA_code minor_asset_group major_asset_group ADS_life \\\n", - "0 Mainframes EP1A Computers and Software Equipment 5.0 \n", - "1 PCs EP1B Computers and Software Equipment 5.0 \n", - "2 DASDs EP1C Computers and Software Equipment 5.0 \n", - "3 Printers EP1D Computers and Software Equipment 5.0 \n", - "4 Terminals EP1E Computers and Software Equipment 5.0 \n", - "\n", - " GDS_life system year life method \n", - "0 5.0 GDS 2020 5.0 DB 200% \n", - "1 5.0 GDS 2020 5.0 DB 200% \n", - "2 5.0 GDS 2020 5.0 DB 200% \n", - "3 5.0 GDS 2020 5.0 DB 200% \n", - "4 5.0 GDS 2020 5.0 DB 200% \n" - ] - }, { "data": { "text/html": [ @@ -981,93 +924,93 @@ " \n", " 0\n", " Overall\n", - " 17.639885\n", - " 25.524466\n", - " 7.884581\n", + " 21.526876\n", + " 36.559180\n", + " 15.032303\n", " \n", " \n", " 1\n", " Corporate\n", - " 17.755445\n", - " 28.320144\n", - " 10.564699\n", + " 19.289825\n", + " 42.290696\n", + " 23.000871\n", " \n", " \n", " 2\n", " Equipment\n", - " 6.748557\n", - " 22.505995\n", - " 15.757439\n", + " 12.268577\n", + " 51.221226\n", + " 38.952649\n", " \n", " \n", " 3\n", " Structures\n", - " 18.403895\n", - " 27.871517\n", - " 9.467623\n", + " 19.432117\n", + " 37.101159\n", + " 17.669042\n", " \n", " \n", " 4\n", " Intellectual Property\n", - " 6.748557\n", - " 11.267132\n", - " 4.518575\n", + " 9.379703\n", + " 52.586404\n", + " 43.206701\n", " \n", " \n", " 5\n", " Inventories\n", - " 29.224527\n", - " 39.958412\n", - " 10.733886\n", + " 28.801548\n", + " 39.348000\n", + " 10.546452\n", " \n", " \n", " 6\n", " Land\n", - " 26.331360\n", - " 35.884178\n", - " 9.552818\n", + " 26.056496\n", + " 35.232345\n", + " 9.175849\n", " \n", " \n", " 7\n", " Pass-through\n", - " 19.007441\n", - " 23.318798\n", - " 4.311357\n", + " 25.445118\n", + " 29.374410\n", + " 3.929292\n", " \n", " \n", " 8\n", " Equipment\n", - " 1.961381\n", - " 15.050433\n", - " 13.089052\n", + " 7.946231\n", + " 18.018260\n", + " 10.072029\n", " \n", " \n", " 9\n", " Structures\n", - " 17.622599\n", - " 21.473278\n", - " 3.850679\n", + " 23.314464\n", + " 26.872234\n", + " 3.557770\n", " \n", " \n", " 10\n", " Intellectual Property\n", - " 1.961381\n", - " 6.536701\n", - " 4.575320\n", + " 2.192332\n", + " 5.866596\n", + " 3.674263\n", " \n", " \n", " 11\n", " Inventories\n", - " 25.284934\n", - " 29.145909\n", - " 3.860975\n", + " 33.053519\n", + " 36.968629\n", + " 3.915110\n", " \n", " \n", " 12\n", " Land\n", - " 22.063514\n", - " 25.536828\n", - " 3.473313\n", + " 28.857306\n", + " 32.236065\n", + " 3.378758\n", " \n", " \n", "\n", @@ -1090,52 +1033,52 @@ "12 Land \n", "\n", " Marginal Effective Total Tax Rate Under Baseline Policy \\\n", - "0 17.639885 \n", - "1 17.755445 \n", - "2 6.748557 \n", - "3 18.403895 \n", - "4 6.748557 \n", - "5 29.224527 \n", - "6 26.331360 \n", - "7 19.007441 \n", - "8 1.961381 \n", - "9 17.622599 \n", - "10 1.961381 \n", - "11 25.284934 \n", - "12 22.063514 \n", + "0 21.526876 \n", + "1 19.289825 \n", + "2 12.268577 \n", + "3 19.432117 \n", + "4 9.379703 \n", + "5 28.801548 \n", + "6 26.056496 \n", + "7 25.445118 \n", + "8 7.946231 \n", + "9 23.314464 \n", + "10 2.192332 \n", + "11 33.053519 \n", + "12 28.857306 \n", "\n", " Marginal Effective Total Tax Rate Under Reform Policy \\\n", - "0 25.524466 \n", - "1 28.320144 \n", - "2 22.505995 \n", - "3 27.871517 \n", - "4 11.267132 \n", - "5 39.958412 \n", - "6 35.884178 \n", - "7 23.318798 \n", - "8 15.050433 \n", - "9 21.473278 \n", - "10 6.536701 \n", - "11 29.145909 \n", - "12 25.536828 \n", + "0 36.559180 \n", + "1 42.290696 \n", + "2 51.221226 \n", + "3 37.101159 \n", + "4 52.586404 \n", + "5 39.348000 \n", + "6 35.232345 \n", + "7 29.374410 \n", + "8 18.018260 \n", + "9 26.872234 \n", + "10 5.866596 \n", + "11 36.968629 \n", + "12 32.236065 \n", "\n", " Change from Baseline (pp) \n", - "0 7.884581 \n", - "1 10.564699 \n", - "2 15.757439 \n", - "3 9.467623 \n", - "4 4.518575 \n", - "5 10.733886 \n", - "6 9.552818 \n", - "7 4.311357 \n", - "8 13.089052 \n", - "9 3.850679 \n", - "10 4.575320 \n", - "11 3.860975 \n", - "12 3.473313 " + "0 15.032303 \n", + "1 23.000871 \n", + "2 38.952649 \n", + "3 17.669042 \n", + "4 43.206701 \n", + "5 10.546452 \n", + "6 9.175849 \n", + "7 3.929292 \n", + "8 10.072029 \n", + "9 3.557770 \n", + "10 3.674263 \n", + "11 3.915110 \n", + "12 3.378758 " ] }, - "execution_count": 16, + "execution_count": 12, "metadata": {}, "output_type": "execute_result" } @@ -1147,67 +1090,9 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 13, "metadata": {}, "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "deprec_df value asset_name BEA_code \\\n", - "0 {'life': 5.0, 'method': 'DB 200%'} Mainframes EP1A \n", - "1 {'life': 5.0, 'method': 'DB 200%'} PCs EP1B \n", - "2 {'life': 5.0, 'method': 'DB 200%'} DASDs EP1C \n", - "3 {'life': 5.0, 'method': 'DB 200%'} Printers EP1D \n", - "4 {'life': 5.0, 'method': 'DB 200%'} Terminals EP1E \n", - "\n", - " minor_asset_group major_asset_group ADS_life GDS_life system year \n", - "0 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "1 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "2 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "3 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "4 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "deprec_df 2 asset_name BEA_code minor_asset_group major_asset_group ADS_life \\\n", - "0 Mainframes EP1A Computers and Software Equipment 5.0 \n", - "1 PCs EP1B Computers and Software Equipment 5.0 \n", - "2 DASDs EP1C Computers and Software Equipment 5.0 \n", - "3 Printers EP1D Computers and Software Equipment 5.0 \n", - "4 Terminals EP1E Computers and Software Equipment 5.0 \n", - "\n", - " GDS_life system year life method \n", - "0 5.0 GDS 2020 5.0 DB 200% \n", - "1 5.0 GDS 2020 5.0 DB 200% \n", - "2 5.0 GDS 2020 5.0 DB 200% \n", - "3 5.0 GDS 2020 5.0 DB 200% \n", - "4 5.0 GDS 2020 5.0 DB 200% \n", - "deprec_df value asset_name BEA_code \\\n", - "0 {'life': 5.0, 'method': 'DB 200%'} Mainframes EP1A \n", - "1 {'life': 5.0, 'method': 'DB 200%'} PCs EP1B \n", - "2 {'life': 5.0, 'method': 'DB 200%'} DASDs EP1C \n", - "3 {'life': 5.0, 'method': 'DB 200%'} Printers EP1D \n", - "4 {'life': 5.0, 'method': 'DB 200%'} Terminals EP1E \n", - "\n", - " minor_asset_group major_asset_group ADS_life GDS_life system year \n", - "0 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "1 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "2 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "3 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "4 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "deprec_df 2 asset_name BEA_code minor_asset_group major_asset_group ADS_life \\\n", - "0 Mainframes EP1A Computers and Software Equipment 5.0 \n", - "1 PCs EP1B Computers and Software Equipment 5.0 \n", - "2 DASDs EP1C Computers and Software Equipment 5.0 \n", - "3 Printers EP1D Computers and Software Equipment 5.0 \n", - "4 Terminals EP1E Computers and Software Equipment 5.0 \n", - "\n", - " GDS_life system year life method \n", - "0 5.0 GDS 2020 5.0 DB 200% \n", - "1 5.0 GDS 2020 5.0 DB 200% \n", - "2 5.0 GDS 2020 5.0 DB 200% \n", - "3 5.0 GDS 2020 5.0 DB 200% \n", - "4 5.0 GDS 2020 5.0 DB 200% \n" - ] - }, { "data": { "text/html": [ @@ -1239,289 +1124,289 @@ " \n", " 0\n", " Overall\n", - " 17.639885\n", - " 25.524466\n", - " 7.884581\n", + " 21.526876\n", + " 36.559180\n", + " 15.032303\n", " \n", " \n", " 1\n", " Corporate\n", - " 17.755445\n", - " 28.320144\n", - " 10.564699\n", + " 19.289825\n", + " 42.290696\n", + " 23.000871\n", " \n", " \n", " 2\n", " Agriculture, forestry, fishing, and hunting\n", - " 18.621881\n", - " 30.896046\n", - " 12.274165\n", + " 20.534322\n", + " 39.825970\n", + " 19.291648\n", " \n", " \n", " 3\n", " Mining\n", - " 9.714456\n", - " 17.971900\n", - " 8.257444\n", + " 12.219031\n", + " 40.334556\n", + " 28.115526\n", " \n", " \n", " 4\n", " Utilities\n", - " 7.770042\n", - " 20.115997\n", - " 12.345955\n", + " 12.014254\n", + " 35.617403\n", + " 23.603149\n", " \n", " \n", " 5\n", " Construction\n", - " 19.159651\n", - " 30.624693\n", - " 11.465042\n", + " 20.688305\n", + " 44.152531\n", + " 23.464226\n", " \n", " \n", " 6\n", " Manufacturing\n", - " 18.050971\n", - " 27.120119\n", - " 9.069148\n", + " 18.982439\n", + " 44.975737\n", + " 25.993298\n", " \n", " \n", " 7\n", " Wholesale trade\n", - " 23.492232\n", - " 34.533774\n", - " 11.041542\n", + " 24.082118\n", + " 44.175721\n", + " 20.093603\n", " \n", " \n", " 8\n", " Retail trade\n", - " 24.479352\n", - " 34.948319\n", - " 10.468967\n", + " 24.739980\n", + " 41.380972\n", + " 16.640992\n", " \n", " \n", " 9\n", " Transportation and warehousing\n", - " 10.992693\n", - " 20.708297\n", - " 9.715604\n", + " 13.656523\n", + " 39.123823\n", + " 25.467300\n", " \n", " \n", " 10\n", " Information\n", - " 10.390034\n", - " 24.838020\n", - " 14.447985\n", + " 15.067806\n", + " 45.626685\n", + " 30.558879\n", " \n", " \n", " 11\n", " Finance and insurance\n", - " 18.696422\n", - " 30.540664\n", - " 11.844242\n", + " 20.429720\n", + " 48.923895\n", + " 28.494175\n", " \n", " \n", " 12\n", " Real estate and rental and leasing\n", - " 24.387301\n", - " 33.983636\n", - " 9.596334\n", + " 24.425292\n", + " 37.289023\n", + " 12.863731\n", " \n", " \n", " 13\n", " Professional, scientific, and technical ser...\n", - " 14.605649\n", - " 25.698186\n", - " 11.092537\n", + " 16.882275\n", + " 52.644895\n", + " 35.762620\n", " \n", " \n", " 14\n", " Management of companies and enterprises\n", - " 22.484921\n", - " 32.516446\n", - " 10.031525\n", + " 22.944526\n", + " 45.750770\n", + " 22.806244\n", " \n", " \n", " 15\n", " Administrative and waste management services\n", - " 14.309938\n", - " 26.805903\n", - " 12.495965\n", + " 17.130679\n", + " 48.198467\n", + " 31.067788\n", " \n", " \n", " 16\n", " Educational services\n", - " 22.487031\n", - " 31.884260\n", - " 9.397229\n", + " 22.748061\n", + " 40.858827\n", + " 18.110766\n", " \n", " \n", " 17\n", " Health care and social assistance\n", - " 20.632608\n", - " 31.106191\n", - " 10.473583\n", + " 21.572828\n", + " 42.546117\n", + " 20.973289\n", " \n", " \n", " 18\n", " Arts, entertainment, and recreation\n", - " 15.548896\n", - " 26.617836\n", - " 11.068940\n", + " 17.693016\n", + " 40.552789\n", + " 22.859773\n", " \n", " \n", " 19\n", " Accommodation and food services\n", - " 24.067836\n", - " 34.355820\n", - " 10.287984\n", + " 24.357793\n", + " 40.406482\n", + " 16.048689\n", " \n", " \n", " 20\n", " Other services, except government\n", - " 20.836695\n", - " 30.077012\n", - " 9.240317\n", + " 21.339215\n", + " 39.923188\n", + " 18.583973\n", " \n", " \n", " 21\n", " Pass-through\n", - " 19.007441\n", - " 23.318798\n", - " 4.311357\n", + " 25.445118\n", + " 29.374410\n", + " 3.929292\n", " \n", " \n", " 22\n", " Agriculture, forestry, fishing, and hunting\n", - " 16.047848\n", - " 22.465303\n", - " 6.417456\n", + " 22.890823\n", + " 28.258745\n", + " 5.367922\n", " \n", " \n", " 23\n", " Mining\n", - " 5.329731\n", - " 11.922444\n", - " 6.592713\n", + " 8.178225\n", + " 13.282775\n", + " 5.104550\n", " \n", " \n", " 24\n", " Utilities\n", - " 3.315756\n", - " 13.381097\n", - " 10.065342\n", + " 7.674243\n", + " 15.386904\n", + " 7.712661\n", " \n", " \n", " 25\n", " Construction\n", - " 16.256425\n", - " 22.058650\n", - " 5.802225\n", + " 22.783365\n", + " 27.715992\n", + " 4.932628\n", " \n", " \n", " 26\n", " Manufacturing\n", - " 14.365716\n", - " 19.196170\n", - " 4.830454\n", + " 19.656924\n", + " 23.876224\n", + " 4.219300\n", " \n", " \n", " 27\n", " Wholesale trade\n", - " 21.269469\n", - " 26.008485\n", - " 4.739016\n", + " 28.582124\n", + " 32.982385\n", + " 4.400262\n", " \n", " \n", " 28\n", " Retail trade\n", - " 21.496969\n", - " 25.904160\n", - " 4.407191\n", + " 28.669117\n", + " 32.818548\n", + " 4.149431\n", " \n", " \n", " 29\n", " Transportation and warehousing\n", - " 6.894412\n", - " 14.309383\n", - " 7.414971\n", + " 10.988363\n", + " 16.814706\n", + " 5.826343\n", " \n", " \n", " 30\n", " Information\n", - " 6.049526\n", - " 17.143644\n", - " 11.094117\n", + " 13.080848\n", + " 22.380169\n", + " 9.299321\n", " \n", " \n", " 31\n", " Finance and insurance\n", - " 18.440433\n", - " 23.532485\n", - " 5.092051\n", + " 25.182230\n", + " 29.686517\n", + " 4.504287\n", " \n", " \n", " 32\n", " Real estate and rental and leasing\n", - " 21.082232\n", - " 24.615095\n", - " 3.532863\n", + " 27.634351\n", + " 31.037967\n", + " 3.403616\n", " \n", " \n", " 33\n", " Professional, scientific, and technical ser...\n", - " 10.083509\n", - " 17.383227\n", - " 7.299718\n", + " 15.409318\n", + " 21.332319\n", + " 5.923000\n", " \n", " \n", " 34\n", " Management of companies and enterprises\n", - " 18.102279\n", - " 22.791069\n", - " 4.688790\n", + " 24.491387\n", + " 28.707654\n", + " 4.216267\n", " \n", " \n", " 35\n", " Administrative and waste management services\n", - " 9.711826\n", - " 18.261459\n", - " 8.549633\n", + " 15.727368\n", + " 22.533481\n", + " 6.806113\n", " \n", " \n", " 36\n", " Educational services\n", - " 18.079977\n", - " 22.247380\n", - " 4.167403\n", + " 24.105494\n", + " 27.924088\n", + " 3.818595\n", " \n", " \n", " 37\n", " Health care and social assistance\n", - " 16.206875\n", - " 21.634895\n", - " 5.428020\n", + " 22.439307\n", + " 27.127672\n", + " 4.688364\n", " \n", " \n", " 38\n", " Arts, entertainment, and recreation\n", - " 10.766382\n", - " 18.025709\n", - " 7.259327\n", + " 16.351020\n", + " 22.227996\n", + " 5.876976\n", " \n", " \n", " 39\n", " Accommodation and food services\n", - " 19.929849\n", - " 24.406857\n", - " 4.477008\n", + " 26.723881\n", + " 30.833800\n", + " 4.109919\n", " \n", " \n", " 40\n", " Other services, except government\n", - " 16.154067\n", - " 20.605809\n", - " 4.451742\n", + " 21.759689\n", + " 25.712610\n", + " 3.952921\n", " \n", " \n", "\n", @@ -1572,136 +1457,136 @@ "40 Other services, except government \n", "\n", " Marginal Effective Total Tax Rate Under Baseline Policy \\\n", - "0 17.639885 \n", - "1 17.755445 \n", - "2 18.621881 \n", - "3 9.714456 \n", - "4 7.770042 \n", - "5 19.159651 \n", - "6 18.050971 \n", - "7 23.492232 \n", - "8 24.479352 \n", - "9 10.992693 \n", - "10 10.390034 \n", - "11 18.696422 \n", - "12 24.387301 \n", - "13 14.605649 \n", - "14 22.484921 \n", - "15 14.309938 \n", - "16 22.487031 \n", - "17 20.632608 \n", - "18 15.548896 \n", - "19 24.067836 \n", - "20 20.836695 \n", - "21 19.007441 \n", - "22 16.047848 \n", - "23 5.329731 \n", - "24 3.315756 \n", - "25 16.256425 \n", - "26 14.365716 \n", - "27 21.269469 \n", - "28 21.496969 \n", - "29 6.894412 \n", - "30 6.049526 \n", - "31 18.440433 \n", - "32 21.082232 \n", - "33 10.083509 \n", - "34 18.102279 \n", - "35 9.711826 \n", - "36 18.079977 \n", - "37 16.206875 \n", - "38 10.766382 \n", - "39 19.929849 \n", - "40 16.154067 \n", + "0 21.526876 \n", + "1 19.289825 \n", + "2 20.534322 \n", + "3 12.219031 \n", + "4 12.014254 \n", + "5 20.688305 \n", + "6 18.982439 \n", + "7 24.082118 \n", + "8 24.739980 \n", + "9 13.656523 \n", + "10 15.067806 \n", + "11 20.429720 \n", + "12 24.425292 \n", + "13 16.882275 \n", + "14 22.944526 \n", + "15 17.130679 \n", + "16 22.748061 \n", + "17 21.572828 \n", + "18 17.693016 \n", + "19 24.357793 \n", + "20 21.339215 \n", + "21 25.445118 \n", + "22 22.890823 \n", + "23 8.178225 \n", + "24 7.674243 \n", + "25 22.783365 \n", + "26 19.656924 \n", + "27 28.582124 \n", + "28 28.669117 \n", + "29 10.988363 \n", + "30 13.080848 \n", + "31 25.182230 \n", + "32 27.634351 \n", + "33 15.409318 \n", + "34 24.491387 \n", + "35 15.727368 \n", + "36 24.105494 \n", + "37 22.439307 \n", + "38 16.351020 \n", + "39 26.723881 \n", + "40 21.759689 \n", "\n", " Marginal Effective Total Tax Rate Under Reform Policy \\\n", - "0 25.524466 \n", - "1 28.320144 \n", - "2 30.896046 \n", - "3 17.971900 \n", - "4 20.115997 \n", - "5 30.624693 \n", - "6 27.120119 \n", - "7 34.533774 \n", - "8 34.948319 \n", - "9 20.708297 \n", - "10 24.838020 \n", - "11 30.540664 \n", - "12 33.983636 \n", - "13 25.698186 \n", - "14 32.516446 \n", - "15 26.805903 \n", - "16 31.884260 \n", - "17 31.106191 \n", - "18 26.617836 \n", - "19 34.355820 \n", - "20 30.077012 \n", - "21 23.318798 \n", - "22 22.465303 \n", - "23 11.922444 \n", - "24 13.381097 \n", - "25 22.058650 \n", - "26 19.196170 \n", - "27 26.008485 \n", - "28 25.904160 \n", - "29 14.309383 \n", - "30 17.143644 \n", - "31 23.532485 \n", - "32 24.615095 \n", - "33 17.383227 \n", - "34 22.791069 \n", - "35 18.261459 \n", - "36 22.247380 \n", - "37 21.634895 \n", - "38 18.025709 \n", - "39 24.406857 \n", - "40 20.605809 \n", + "0 36.559180 \n", + "1 42.290696 \n", + "2 39.825970 \n", + "3 40.334556 \n", + "4 35.617403 \n", + "5 44.152531 \n", + "6 44.975737 \n", + "7 44.175721 \n", + "8 41.380972 \n", + "9 39.123823 \n", + "10 45.626685 \n", + "11 48.923895 \n", + "12 37.289023 \n", + "13 52.644895 \n", + "14 45.750770 \n", + "15 48.198467 \n", + "16 40.858827 \n", + "17 42.546117 \n", + "18 40.552789 \n", + "19 40.406482 \n", + "20 39.923188 \n", + "21 29.374410 \n", + "22 28.258745 \n", + "23 13.282775 \n", + "24 15.386904 \n", + "25 27.715992 \n", + "26 23.876224 \n", + "27 32.982385 \n", + "28 32.818548 \n", + "29 16.814706 \n", + "30 22.380169 \n", + "31 29.686517 \n", + "32 31.037967 \n", + "33 21.332319 \n", + "34 28.707654 \n", + "35 22.533481 \n", + "36 27.924088 \n", + "37 27.127672 \n", + "38 22.227996 \n", + "39 30.833800 \n", + "40 25.712610 \n", "\n", " Change from Baseline (pp) \n", - "0 7.884581 \n", - "1 10.564699 \n", - "2 12.274165 \n", - "3 8.257444 \n", - "4 12.345955 \n", - "5 11.465042 \n", - "6 9.069148 \n", - "7 11.041542 \n", - "8 10.468967 \n", - "9 9.715604 \n", - "10 14.447985 \n", - "11 11.844242 \n", - "12 9.596334 \n", - "13 11.092537 \n", - "14 10.031525 \n", - "15 12.495965 \n", - "16 9.397229 \n", - "17 10.473583 \n", - "18 11.068940 \n", - "19 10.287984 \n", - "20 9.240317 \n", - "21 4.311357 \n", - "22 6.417456 \n", - "23 6.592713 \n", - "24 10.065342 \n", - "25 5.802225 \n", - "26 4.830454 \n", - "27 4.739016 \n", - "28 4.407191 \n", - "29 7.414971 \n", - "30 11.094117 \n", - "31 5.092051 \n", - "32 3.532863 \n", - "33 7.299718 \n", - "34 4.688790 \n", - "35 8.549633 \n", - "36 4.167403 \n", - "37 5.428020 \n", - "38 7.259327 \n", - "39 4.477008 \n", - "40 4.451742 " + "0 15.032303 \n", + "1 23.000871 \n", + "2 19.291648 \n", + "3 28.115526 \n", + "4 23.603149 \n", + "5 23.464226 \n", + "6 25.993298 \n", + "7 20.093603 \n", + "8 16.640992 \n", + "9 25.467300 \n", + "10 30.558879 \n", + "11 28.494175 \n", + "12 12.863731 \n", + "13 35.762620 \n", + "14 22.806244 \n", + "15 31.067788 \n", + "16 18.110766 \n", + "17 20.973289 \n", + "18 22.859773 \n", + "19 16.048689 \n", + "20 18.583973 \n", + "21 3.929292 \n", + "22 5.367922 \n", + "23 5.104550 \n", + "24 7.712661 \n", + "25 4.932628 \n", + "26 4.219300 \n", + "27 4.400262 \n", + "28 4.149431 \n", + "29 5.826343 \n", + "30 9.299321 \n", + "31 4.504287 \n", + "32 3.403616 \n", + "33 5.923000 \n", + "34 4.216267 \n", + "35 6.806113 \n", + "36 3.818595 \n", + "37 4.688364 \n", + "38 5.876976 \n", + "39 4.109919 \n", + "40 3.952921 " ] }, - "execution_count": 17, + "execution_count": 13, "metadata": {}, "output_type": "execute_result" } @@ -1724,72 +1609,14 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 14, "metadata": {}, "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "deprec_df value asset_name BEA_code \\\n", - "0 {'life': 5.0, 'method': 'DB 200%'} Mainframes EP1A \n", - "1 {'life': 5.0, 'method': 'DB 200%'} PCs EP1B \n", - "2 {'life': 5.0, 'method': 'DB 200%'} DASDs EP1C \n", - "3 {'life': 5.0, 'method': 'DB 200%'} Printers EP1D \n", - "4 {'life': 5.0, 'method': 'DB 200%'} Terminals EP1E \n", - "\n", - " minor_asset_group major_asset_group ADS_life GDS_life system year \n", - "0 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "1 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "2 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "3 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "4 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "deprec_df 2 asset_name BEA_code minor_asset_group major_asset_group ADS_life \\\n", - "0 Mainframes EP1A Computers and Software Equipment 5.0 \n", - "1 PCs EP1B Computers and Software Equipment 5.0 \n", - "2 DASDs EP1C Computers and Software Equipment 5.0 \n", - "3 Printers EP1D Computers and Software Equipment 5.0 \n", - "4 Terminals EP1E Computers and Software Equipment 5.0 \n", - "\n", - " GDS_life system year life method \n", - "0 5.0 GDS 2020 5.0 DB 200% \n", - "1 5.0 GDS 2020 5.0 DB 200% \n", - "2 5.0 GDS 2020 5.0 DB 200% \n", - "3 5.0 GDS 2020 5.0 DB 200% \n", - "4 5.0 GDS 2020 5.0 DB 200% \n", - "deprec_df value asset_name BEA_code \\\n", - "0 {'life': 5.0, 'method': 'DB 200%'} Mainframes EP1A \n", - "1 {'life': 5.0, 'method': 'DB 200%'} PCs EP1B \n", - "2 {'life': 5.0, 'method': 'DB 200%'} DASDs EP1C \n", - "3 {'life': 5.0, 'method': 'DB 200%'} Printers EP1D \n", - "4 {'life': 5.0, 'method': 'DB 200%'} Terminals EP1E \n", - "\n", - " minor_asset_group major_asset_group ADS_life GDS_life system year \n", - "0 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "1 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "2 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "3 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "4 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "deprec_df 2 asset_name BEA_code minor_asset_group major_asset_group ADS_life \\\n", - "0 Mainframes EP1A Computers and Software Equipment 5.0 \n", - "1 PCs EP1B Computers and Software Equipment 5.0 \n", - "2 DASDs EP1C Computers and Software Equipment 5.0 \n", - "3 Printers EP1D Computers and Software Equipment 5.0 \n", - "4 Terminals EP1E Computers and Software Equipment 5.0 \n", - "\n", - " GDS_life system year life method \n", - "0 5.0 GDS 2020 5.0 DB 200% \n", - "1 5.0 GDS 2020 5.0 DB 200% \n", - "2 5.0 GDS 2020 5.0 DB 200% \n", - "3 5.0 GDS 2020 5.0 DB 200% \n", - "4 5.0 GDS 2020 5.0 DB 200% \n" - ] - }, { "data": { "text/html": [ "\n", - "
\n" + "
\n" ] }, "metadata": {}, @@ -1797,7 +1624,7 @@ }, { "data": { - "application/javascript": "(function(root) {\n function embed_document(root) {\n const docs_json = {\"97ca93aa-25b7-499e-baf3-12bbfbbff347\":{\"version\":\"3.2.2\",\"title\":\"Bokeh Application\",\"roots\":[{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1004\",\"attributes\":{\"height\":350,\"x_range\":{\"type\":\"object\",\"name\":\"FactorRange\",\"id\":\"p1013\",\"attributes\":{\"factors\":[\"Equipment\",\"Intellectual Property\",\"Inventories\",\"Land\",\"Structures\"],\"range_padding\":0.1}},\"y_range\":{\"type\":\"object\",\"name\":\"DataRange1d\",\"id\":\"p1006\"},\"x_scale\":{\"type\":\"object\",\"name\":\"CategoricalScale\",\"id\":\"p1014\"},\"y_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1015\"},\"title\":null,\"renderers\":[{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1033\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1001\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1002\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1003\"},\"data\":{\"type\":\"map\",\"entries\":[[\"index\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"AAAAAAEAAAACAAAAAwAAAAQAAAA=\"},\"shape\":[5],\"dtype\":\"int32\",\"order\":\"little\"}],[\"major_asset_group\",{\"type\":\"ndarray\",\"array\":[\"Equipment\",\"Intellectual Property\",\"Inventories\",\"Land\",\"Structures\"],\"shape\":[5],\"dtype\":\"object\",\"order\":\"little\"}],[\"Baseline\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"13TT6LtGsT/XdNPou0axP+jLsH0ltNI/PMOpRSHa0D/NcB+Rlo7HPw==\"},\"shape\":[5],\"dtype\":\"float64\",\"order\":\"little\"}],[\"Reform\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"YA548UsFzT/wWdK76FS9P55zuGnpp9k/ddGIndIN1z+db3T+2O/RPw==\"},\"shape\":[5],\"dtype\":\"float64\",\"order\":\"little\"}]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1034\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1035\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1030\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_asset_group\",\"transform\":{\"type\":\"object\",\"name\":\"Dodge\",\"id\":\"p1026\",\"attributes\":{\"range\":{\"id\":\"p1013\"}}}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Baseline\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1031\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_asset_group\",\"transform\":{\"id\":\"p1026\"}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Baseline\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1032\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_asset_group\",\"transform\":{\"id\":\"p1026\"}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Baseline\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1045\",\"attributes\":{\"data_source\":{\"id\":\"p1001\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1046\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1047\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1042\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_asset_group\",\"transform\":{\"type\":\"object\",\"name\":\"Dodge\",\"id\":\"p1038\",\"attributes\":{\"value\":0.25,\"range\":{\"id\":\"p1013\"}}}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Reform\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1043\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_asset_group\",\"transform\":{\"id\":\"p1038\"}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Reform\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1044\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_asset_group\",\"transform\":{\"id\":\"p1038\"}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Reform\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"Span\",\"id\":\"p1049\",\"attributes\":{\"location\":0.17755444865113856,\"line_color\":\"#718dbf\",\"line_alpha\":0.2,\"line_width\":2,\"line_dash\":[6]}},{\"type\":\"object\",\"name\":\"Span\",\"id\":\"p1050\",\"attributes\":{\"location\":0.28474077135875026,\"line_color\":\"#e84d60\",\"line_alpha\":0.2,\"line_width\":2,\"line_dash\":[6]}}],\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1012\"},\"toolbar_location\":null,\"left\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1021\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1022\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"BasicTickFormatter\",\"id\":\"p1023\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1024\"}}}],\"below\":[{\"type\":\"object\",\"name\":\"CategoricalAxis\",\"id\":\"p1016\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"CategoricalTicker\",\"id\":\"p1017\"},\"formatter\":{\"type\":\"object\",\"name\":\"CategoricalTickFormatter\",\"id\":\"p1018\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1019\"}}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1020\",\"attributes\":{\"axis\":{\"id\":\"p1016\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1025\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1021\"}}},{\"type\":\"object\",\"name\":\"Legend\",\"id\":\"p1036\",\"attributes\":{\"location\":\"top_left\",\"orientation\":\"horizontal\",\"items\":[{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1037\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Baseline\"},\"renderers\":[{\"id\":\"p1033\"}]}},{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1048\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Reform\"},\"renderers\":[{\"id\":\"p1045\"}]}}]}}]}}]}};\n const render_items = [{\"docid\":\"97ca93aa-25b7-499e-baf3-12bbfbbff347\",\"roots\":{\"p1004\":\"d9f3ebad-734e-4684-84ea-df385ccfed8e\"},\"root_ids\":[\"p1004\"]}];\n root.Bokeh.embed.embed_items_notebook(docs_json, render_items);\n }\n if (root.Bokeh !== undefined) {\n embed_document(root);\n } else {\n let attempts = 0;\n const timer = setInterval(function(root) {\n if (root.Bokeh !== undefined) {\n clearInterval(timer);\n embed_document(root);\n } else {\n attempts++;\n if (attempts > 100) {\n clearInterval(timer);\n console.log(\"Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing\");\n }\n }\n }, 10, root)\n }\n})(window);", + "application/javascript": "(function(root) {\n function embed_document(root) {\n const docs_json = {\"4a42cbc1-7869-4cc1-95a2-430c5580cf4b\":{\"version\":\"3.3.4\",\"title\":\"Bokeh Application\",\"roots\":[{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1004\",\"attributes\":{\"height\":350,\"x_range\":{\"type\":\"object\",\"name\":\"FactorRange\",\"id\":\"p1013\",\"attributes\":{\"factors\":[\"Equipment\",\"Intellectual Property\",\"Inventories\",\"Land\",\"Structures\"],\"range_padding\":0.1}},\"y_range\":{\"type\":\"object\",\"name\":\"DataRange1d\",\"id\":\"p1006\"},\"x_scale\":{\"type\":\"object\",\"name\":\"CategoricalScale\",\"id\":\"p1014\"},\"y_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1015\"},\"title\":null,\"renderers\":[{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1033\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1001\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1002\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1003\"},\"data\":{\"type\":\"map\",\"entries\":[[\"index\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"AAAAAAEAAAACAAAAAwAAAAQAAAA=\"},\"shape\":[5],\"dtype\":\"int32\",\"order\":\"little\"}],[\"major_asset_group\",{\"type\":\"ndarray\",\"array\":[\"Equipment\",\"Intellectual Property\",\"Inventories\",\"Land\",\"Structures\"],\"shape\":[5],\"dtype\":\"object\",\"order\":\"little\"}],[\"Baseline\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"dR65ulVovz8WlwUMFQO4P0Jfo3fYbtI/tpDmqBit0D/yId8lhN/IPw==\"},\"shape\":[5],\"dtype\":\"float64\",\"order\":\"little\"}],[\"Reform\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"m5eej1CX4D+/gVsQtwXhP8mxMrRHrtk/SLthiJ8U1z/tUZKM4ULYPw==\"},\"shape\":[5],\"dtype\":\"float64\",\"order\":\"little\"}]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1034\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1035\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1030\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_asset_group\",\"transform\":{\"type\":\"object\",\"name\":\"Dodge\",\"id\":\"p1026\",\"attributes\":{\"range\":{\"id\":\"p1013\"}}}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Baseline\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1031\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_asset_group\",\"transform\":{\"id\":\"p1026\"}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Baseline\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1032\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_asset_group\",\"transform\":{\"id\":\"p1026\"}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Baseline\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1045\",\"attributes\":{\"data_source\":{\"id\":\"p1001\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1046\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1047\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1042\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_asset_group\",\"transform\":{\"type\":\"object\",\"name\":\"Dodge\",\"id\":\"p1038\",\"attributes\":{\"value\":0.25,\"range\":{\"id\":\"p1013\"}}}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Reform\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1043\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_asset_group\",\"transform\":{\"id\":\"p1038\"}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Reform\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1044\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_asset_group\",\"transform\":{\"id\":\"p1038\"}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Reform\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"Span\",\"id\":\"p1049\",\"attributes\":{\"location\":0.19289825129292956,\"line_color\":\"#718dbf\",\"line_alpha\":0.2,\"line_width\":2,\"line_dash\":[6]}},{\"type\":\"object\",\"name\":\"Span\",\"id\":\"p1050\",\"attributes\":{\"location\":0.43031159479908876,\"line_color\":\"#e84d60\",\"line_alpha\":0.2,\"line_width\":2,\"line_dash\":[6]}}],\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1012\"},\"toolbar_location\":null,\"left\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1021\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1022\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"BasicTickFormatter\",\"id\":\"p1023\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1024\"}}}],\"below\":[{\"type\":\"object\",\"name\":\"CategoricalAxis\",\"id\":\"p1016\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"CategoricalTicker\",\"id\":\"p1017\"},\"formatter\":{\"type\":\"object\",\"name\":\"CategoricalTickFormatter\",\"id\":\"p1018\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1019\"}}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1020\",\"attributes\":{\"axis\":{\"id\":\"p1016\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1025\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1021\"}}},{\"type\":\"object\",\"name\":\"Legend\",\"id\":\"p1036\",\"attributes\":{\"location\":\"top_left\",\"orientation\":\"horizontal\",\"items\":[{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1037\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Baseline\"},\"renderers\":[{\"id\":\"p1033\"}]}},{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1048\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Reform\"},\"renderers\":[{\"id\":\"p1045\"}]}}]}}]}}]}};\n const render_items = [{\"docid\":\"4a42cbc1-7869-4cc1-95a2-430c5580cf4b\",\"roots\":{\"p1004\":\"d54a9846-8caa-4b27-a579-3d096ff4bc56\"},\"root_ids\":[\"p1004\"]}];\n root.Bokeh.embed.embed_items_notebook(docs_json, render_items);\n }\n if (root.Bokeh !== undefined) {\n embed_document(root);\n } else {\n let attempts = 0;\n const timer = setInterval(function(root) {\n if (root.Bokeh !== undefined) {\n clearInterval(timer);\n embed_document(root);\n } else {\n attempts++;\n if (attempts > 100) {\n clearInterval(timer);\n console.log(\"Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing\");\n }\n }\n }, 10, root)\n }\n})(window);", "application/vnd.bokehjs_exec.v0+json": "" }, "metadata": { @@ -1823,72 +1650,14 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 15, "metadata": {}, "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "deprec_df value asset_name BEA_code \\\n", - "0 {'life': 5.0, 'method': 'DB 200%'} Mainframes EP1A \n", - "1 {'life': 5.0, 'method': 'DB 200%'} PCs EP1B \n", - "2 {'life': 5.0, 'method': 'DB 200%'} DASDs EP1C \n", - "3 {'life': 5.0, 'method': 'DB 200%'} Printers EP1D \n", - "4 {'life': 5.0, 'method': 'DB 200%'} Terminals EP1E \n", - "\n", - " minor_asset_group major_asset_group ADS_life GDS_life system year \n", - "0 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "1 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "2 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "3 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "4 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "deprec_df 2 asset_name BEA_code minor_asset_group major_asset_group ADS_life \\\n", - "0 Mainframes EP1A Computers and Software Equipment 5.0 \n", - "1 PCs EP1B Computers and Software Equipment 5.0 \n", - "2 DASDs EP1C Computers and Software Equipment 5.0 \n", - "3 Printers EP1D Computers and Software Equipment 5.0 \n", - "4 Terminals EP1E Computers and Software Equipment 5.0 \n", - "\n", - " GDS_life system year life method \n", - "0 5.0 GDS 2020 5.0 DB 200% \n", - "1 5.0 GDS 2020 5.0 DB 200% \n", - "2 5.0 GDS 2020 5.0 DB 200% \n", - "3 5.0 GDS 2020 5.0 DB 200% \n", - "4 5.0 GDS 2020 5.0 DB 200% \n", - "deprec_df value asset_name BEA_code \\\n", - "0 {'life': 5.0, 'method': 'DB 200%'} Mainframes EP1A \n", - "1 {'life': 5.0, 'method': 'DB 200%'} PCs EP1B \n", - "2 {'life': 5.0, 'method': 'DB 200%'} DASDs EP1C \n", - "3 {'life': 5.0, 'method': 'DB 200%'} Printers EP1D \n", - "4 {'life': 5.0, 'method': 'DB 200%'} Terminals EP1E \n", - "\n", - " minor_asset_group major_asset_group ADS_life GDS_life system year \n", - "0 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "1 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "2 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "3 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "4 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "deprec_df 2 asset_name BEA_code minor_asset_group major_asset_group ADS_life \\\n", - "0 Mainframes EP1A Computers and Software Equipment 5.0 \n", - "1 PCs EP1B Computers and Software Equipment 5.0 \n", - "2 DASDs EP1C Computers and Software Equipment 5.0 \n", - "3 Printers EP1D Computers and Software Equipment 5.0 \n", - "4 Terminals EP1E Computers and Software Equipment 5.0 \n", - "\n", - " GDS_life system year life method \n", - "0 5.0 GDS 2020 5.0 DB 200% \n", - "1 5.0 GDS 2020 5.0 DB 200% \n", - "2 5.0 GDS 2020 5.0 DB 200% \n", - "3 5.0 GDS 2020 5.0 DB 200% \n", - "4 5.0 GDS 2020 5.0 DB 200% \n" - ] - }, { "data": { "text/html": [ "\n", - "
\n" + "
\n" ] }, "metadata": {}, @@ -1896,7 +1665,7 @@ }, { "data": { - "application/javascript": "(function(root) {\n function embed_document(root) {\n const docs_json = {\"2346e627-790c-4001-b551-6983f64bcaad\":{\"version\":\"3.2.2\",\"title\":\"Bokeh Application\",\"roots\":[{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1057\",\"attributes\":{\"width\":800,\"height\":800,\"x_range\":{\"type\":\"object\",\"name\":\"FactorRange\",\"id\":\"p1066\",\"attributes\":{\"factors\":[\"Accommodation and food services\",\"Administrative and waste management services\",\"Agriculture, forestry, fishing, and hunting\",\"Arts, entertainment, and recreation\",\"Construction\",\"Educational services\",\"Finance and insurance\",\"Health care and social assistance\",\"Information\",\"Management of companies and enterprises\",\"Manufacturing\",\"Mining\",\"Other services, except government\",\"Professional, scientific, and technical services\",\"Real estate and rental and leasing\",\"Retail trade\",\"Transportation and warehousing\",\"Utilities\",\"Wholesale trade\"],\"range_padding\":0.1}},\"y_range\":{\"type\":\"object\",\"name\":\"DataRange1d\",\"id\":\"p1059\"},\"x_scale\":{\"type\":\"object\",\"name\":\"CategoricalScale\",\"id\":\"p1067\"},\"y_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1068\"},\"title\":null,\"renderers\":[{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1086\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1054\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1055\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1056\"},\"data\":{\"type\":\"map\",\"entries\":[[\"index\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"AAAAAAEAAAACAAAAAwAAAAQAAAAFAAAABgAAAAcAAAAIAAAACQAAAAoAAAALAAAADAAAAA0AAAAOAAAADwAAABAAAAARAAAAEgAAAA==\"},\"shape\":[19],\"dtype\":\"int32\",\"order\":\"little\"}],[\"major_industry\",{\"type\":\"ndarray\",\"array\":[\"Accommodation and food services\",\"Administrative and waste management services\",\"Agriculture, forestry, fishing, and hunting\",\"Arts, entertainment, and recreation\",\"Construction\",\"Educational services\",\"Finance and insurance\",\"Health care and social assistance\",\"Information\",\"Management of companies and enterprises\",\"Manufacturing\",\"Mining\",\"Other services, except government\",\"Professional, scientific, and technical services\",\"Real estate and rental and leasing\",\"Retail trade\",\"Transportation and warehousing\",\"Utilities\",\"Wholesale trade\"],\"shape\":[19],\"dtype\":\"object\",\"order\":\"little\"}],[\"Baseline\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"rq4WaYzOzj8PQCuQFFHCP5ufcpYE1sc/vxBu9A/nwz/pqZkBPIbIP04ITuaMyMw/vdPOi3Huxz9oR6yZ5GjKP8HrVXs2mbo/8D5A49vHzD/Fh5Uo8RrHP6bAhU533rg/3Yvgn8Sryj8luvms+rHCP34Azxo7N88/WTgm3mRVzz/bihLSKyS8P4DvsLws5LM/W4C9Pe8Rzj8=\"},\"shape\":[19],\"dtype\":\"float64\",\"order\":\"little\"}],[\"Reform\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"IoTMSfQT1j8/IyXeoUHRP46eknlS3tM/Iszdt+Ii0T//mJqN9bHTPxmvcSzif9Q/KUvhtTik0z8Z9emxrQDUP8lF9TjQ/88/wPsKDz3n1D9Q+LC6AHXRP1HRdE7BOsc/I5+QeGtY0z/RgOOiiIzQP4KMJEcb19U/gGj1I9J01j/m3gDzfbnKP9anoOrS98k/ceYoNgwx1j8=\"},\"shape\":[19],\"dtype\":\"float64\",\"order\":\"little\"}]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1087\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1088\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1083\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_industry\",\"transform\":{\"type\":\"object\",\"name\":\"Dodge\",\"id\":\"p1079\",\"attributes\":{\"range\":{\"id\":\"p1066\"}}}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Baseline\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1084\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_industry\",\"transform\":{\"id\":\"p1079\"}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Baseline\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1085\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_industry\",\"transform\":{\"id\":\"p1079\"}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Baseline\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1098\",\"attributes\":{\"data_source\":{\"id\":\"p1054\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1099\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1100\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1095\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_industry\",\"transform\":{\"type\":\"object\",\"name\":\"Dodge\",\"id\":\"p1091\",\"attributes\":{\"value\":0.25,\"range\":{\"id\":\"p1066\"}}}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Reform\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1096\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_industry\",\"transform\":{\"id\":\"p1091\"}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Reform\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1097\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_industry\",\"transform\":{\"id\":\"p1091\"}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Reform\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"Span\",\"id\":\"p1102\",\"attributes\":{\"location\":0.17755444865113856,\"line_color\":\"#718dbf\",\"line_alpha\":0.2,\"line_width\":2,\"line_dash\":[6]}},{\"type\":\"object\",\"name\":\"Span\",\"id\":\"p1103\",\"attributes\":{\"location\":0.28474077135875026,\"line_color\":\"#e84d60\",\"line_alpha\":0.2,\"line_width\":2,\"line_dash\":[6]}}],\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1065\"},\"toolbar_location\":null,\"left\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1074\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1075\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"BasicTickFormatter\",\"id\":\"p1076\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1077\"}}}],\"below\":[{\"type\":\"object\",\"name\":\"CategoricalAxis\",\"id\":\"p1069\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"CategoricalTicker\",\"id\":\"p1070\"},\"formatter\":{\"type\":\"object\",\"name\":\"CategoricalTickFormatter\",\"id\":\"p1071\"},\"major_label_orientation\":45,\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1072\"}}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1073\",\"attributes\":{\"axis\":{\"id\":\"p1069\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1078\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1074\"}}},{\"type\":\"object\",\"name\":\"Legend\",\"id\":\"p1089\",\"attributes\":{\"location\":\"top_left\",\"orientation\":\"horizontal\",\"items\":[{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1090\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Baseline\"},\"renderers\":[{\"id\":\"p1086\"}]}},{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1101\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Reform\"},\"renderers\":[{\"id\":\"p1098\"}]}}]}}]}}]}};\n const render_items = [{\"docid\":\"2346e627-790c-4001-b551-6983f64bcaad\",\"roots\":{\"p1057\":\"de5a749d-2b37-4dc0-9901-0141c102b866\"},\"root_ids\":[\"p1057\"]}];\n root.Bokeh.embed.embed_items_notebook(docs_json, render_items);\n }\n if (root.Bokeh !== undefined) {\n embed_document(root);\n } else {\n let attempts = 0;\n const timer = setInterval(function(root) {\n if (root.Bokeh !== undefined) {\n clearInterval(timer);\n embed_document(root);\n } else {\n attempts++;\n if (attempts > 100) {\n clearInterval(timer);\n console.log(\"Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing\");\n }\n }\n }, 10, root)\n }\n})(window);", + "application/javascript": "(function(root) {\n function embed_document(root) {\n const docs_json = {\"d82272c0-a921-40b3-a5b1-45273013242e\":{\"version\":\"3.3.4\",\"title\":\"Bokeh Application\",\"roots\":[{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1057\",\"attributes\":{\"width\":800,\"height\":800,\"x_range\":{\"type\":\"object\",\"name\":\"FactorRange\",\"id\":\"p1066\",\"attributes\":{\"factors\":[\"Accommodation and food services\",\"Administrative and waste management services\",\"Agriculture, forestry, fishing, and hunting\",\"Arts, entertainment, and recreation\",\"Construction\",\"Educational services\",\"Finance and insurance\",\"Health care and social assistance\",\"Information\",\"Management of companies and enterprises\",\"Manufacturing\",\"Mining\",\"Other services, except government\",\"Professional, scientific, and technical services\",\"Real estate and rental and leasing\",\"Retail trade\",\"Transportation and warehousing\",\"Utilities\",\"Wholesale trade\"],\"range_padding\":0.1}},\"y_range\":{\"type\":\"object\",\"name\":\"DataRange1d\",\"id\":\"p1059\"},\"x_scale\":{\"type\":\"object\",\"name\":\"CategoricalScale\",\"id\":\"p1067\"},\"y_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1068\"},\"title\":null,\"renderers\":[{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1086\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1054\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1055\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1056\"},\"data\":{\"type\":\"map\",\"entries\":[[\"index\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"AAAAAAEAAAACAAAAAwAAAAQAAAAFAAAABgAAAAcAAAAIAAAACQAAAAoAAAALAAAADAAAAA0AAAAOAAAADwAAABAAAAARAAAAEgAAAA==\"},\"shape\":[19],\"dtype\":\"int32\",\"order\":\"little\"}],[\"major_industry\",{\"type\":\"ndarray\",\"array\":[\"Accommodation and food services\",\"Administrative and waste management services\",\"Agriculture, forestry, fishing, and hunting\",\"Arts, entertainment, and recreation\",\"Construction\",\"Educational services\",\"Finance and insurance\",\"Health care and social assistance\",\"Information\",\"Management of companies and enterprises\",\"Manufacturing\",\"Mining\",\"Other services, except government\",\"Professional, scientific, and technical services\",\"Real estate and rental and leasing\",\"Retail trade\",\"Transportation and warehousing\",\"Utilities\",\"Wholesale trade\"],\"shape\":[19],\"dtype\":\"object\",\"order\":\"little\"}],[\"Baseline\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"JrNtzY8tzz99sqN3Ye3FP53aTMavSMo/UolavqWlxj85MsXEJHvKP8L0zqMVHs0/dRtpFmkmyj8vH2n8+5zLP4Ap9CZrScM/8OFwV3ZezT9FrBRiKkzIP0oJsSrdR78/PZsMIm9Qyz8uNizj+5vFP6J3JAKuQ88/g8bx9suqzz+Bxo0s+HrBP0kN8Gapwb4/g0LPfjrTzj8=\"},\"shape\":[19],\"dtype\":\"float64\",\"order\":\"little\"}],[\"Reform\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"plDXAnpZ2j9wQRojvEXfPwjxlP+V+9k/9gE00SNx2j8IjB+sWrfcP946yUejoto/z75KZxC73z9RwpZRibPbP+V6qdbHpd0/uAd0ltm53T+8iidtfzzdPxAFKPDXTdo/QxVzSE8L2j9A4JD4cQrhP/otjgREYdg/5lqcpRb32j9l9t6rBYrZP+tZg9HmUtc/VVN64Bq73D8=\"},\"shape\":[19],\"dtype\":\"float64\",\"order\":\"little\"}]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1087\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1088\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1083\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_industry\",\"transform\":{\"type\":\"object\",\"name\":\"Dodge\",\"id\":\"p1079\",\"attributes\":{\"range\":{\"id\":\"p1066\"}}}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Baseline\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1084\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_industry\",\"transform\":{\"id\":\"p1079\"}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Baseline\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1085\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_industry\",\"transform\":{\"id\":\"p1079\"}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Baseline\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1098\",\"attributes\":{\"data_source\":{\"id\":\"p1054\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1099\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1100\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1095\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_industry\",\"transform\":{\"type\":\"object\",\"name\":\"Dodge\",\"id\":\"p1091\",\"attributes\":{\"value\":0.25,\"range\":{\"id\":\"p1066\"}}}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Reform\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1096\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_industry\",\"transform\":{\"id\":\"p1091\"}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Reform\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"VBar\",\"id\":\"p1097\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"major_industry\",\"transform\":{\"id\":\"p1091\"}},\"width\":{\"type\":\"value\",\"value\":0.2},\"top\":{\"type\":\"field\",\"field\":\"Reform\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"Span\",\"id\":\"p1102\",\"attributes\":{\"location\":0.19289825129292956,\"line_color\":\"#718dbf\",\"line_alpha\":0.2,\"line_width\":2,\"line_dash\":[6]}},{\"type\":\"object\",\"name\":\"Span\",\"id\":\"p1103\",\"attributes\":{\"location\":0.43031159479908876,\"line_color\":\"#e84d60\",\"line_alpha\":0.2,\"line_width\":2,\"line_dash\":[6]}}],\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1065\"},\"toolbar_location\":null,\"left\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1074\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1075\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"BasicTickFormatter\",\"id\":\"p1076\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1077\"}}}],\"below\":[{\"type\":\"object\",\"name\":\"CategoricalAxis\",\"id\":\"p1069\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"CategoricalTicker\",\"id\":\"p1070\"},\"formatter\":{\"type\":\"object\",\"name\":\"CategoricalTickFormatter\",\"id\":\"p1071\"},\"major_label_orientation\":45,\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1072\"}}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1073\",\"attributes\":{\"axis\":{\"id\":\"p1069\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1078\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1074\"}}},{\"type\":\"object\",\"name\":\"Legend\",\"id\":\"p1089\",\"attributes\":{\"location\":\"top_left\",\"orientation\":\"horizontal\",\"items\":[{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1090\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Baseline\"},\"renderers\":[{\"id\":\"p1086\"}]}},{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1101\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Reform\"},\"renderers\":[{\"id\":\"p1098\"}]}}]}}]}}]}};\n const render_items = [{\"docid\":\"d82272c0-a921-40b3-a5b1-45273013242e\",\"roots\":{\"p1057\":\"e0482b6d-3694-44c4-9add-cb731ae2e8bf\"},\"root_ids\":[\"p1057\"]}];\n root.Bokeh.embed.embed_items_notebook(docs_json, render_items);\n }\n if (root.Bokeh !== undefined) {\n embed_document(root);\n } else {\n let attempts = 0;\n const timer = setInterval(function(root) {\n if (root.Bokeh !== undefined) {\n clearInterval(timer);\n embed_document(root);\n } else {\n attempts++;\n if (attempts > 100) {\n clearInterval(timer);\n console.log(\"Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing\");\n }\n }\n }, 10, root)\n }\n})(window);", "application/vnd.bokehjs_exec.v0+json": "" }, "metadata": { @@ -1922,72 +1691,14 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 16, "metadata": {}, "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "deprec_df value asset_name BEA_code \\\n", - "0 {'life': 5.0, 'method': 'DB 200%'} Mainframes EP1A \n", - "1 {'life': 5.0, 'method': 'DB 200%'} PCs EP1B \n", - "2 {'life': 5.0, 'method': 'DB 200%'} DASDs EP1C \n", - "3 {'life': 5.0, 'method': 'DB 200%'} Printers EP1D \n", - "4 {'life': 5.0, 'method': 'DB 200%'} Terminals EP1E \n", - "\n", - " minor_asset_group major_asset_group ADS_life GDS_life system year \n", - "0 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "1 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "2 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "3 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "4 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "deprec_df 2 asset_name BEA_code minor_asset_group major_asset_group ADS_life \\\n", - "0 Mainframes EP1A Computers and Software Equipment 5.0 \n", - "1 PCs EP1B Computers and Software Equipment 5.0 \n", - "2 DASDs EP1C Computers and Software Equipment 5.0 \n", - "3 Printers EP1D Computers and Software Equipment 5.0 \n", - "4 Terminals EP1E Computers and Software Equipment 5.0 \n", - "\n", - " GDS_life system year life method \n", - "0 5.0 GDS 2020 5.0 DB 200% \n", - "1 5.0 GDS 2020 5.0 DB 200% \n", - "2 5.0 GDS 2020 5.0 DB 200% \n", - "3 5.0 GDS 2020 5.0 DB 200% \n", - "4 5.0 GDS 2020 5.0 DB 200% \n", - "deprec_df value asset_name BEA_code \\\n", - "0 {'life': 5.0, 'method': 'DB 200%'} Mainframes EP1A \n", - "1 {'life': 5.0, 'method': 'DB 200%'} PCs EP1B \n", - "2 {'life': 5.0, 'method': 'DB 200%'} DASDs EP1C \n", - "3 {'life': 5.0, 'method': 'DB 200%'} Printers EP1D \n", - "4 {'life': 5.0, 'method': 'DB 200%'} Terminals EP1E \n", - "\n", - " minor_asset_group major_asset_group ADS_life GDS_life system year \n", - "0 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "1 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "2 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "3 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "4 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "deprec_df 2 asset_name BEA_code minor_asset_group major_asset_group ADS_life \\\n", - "0 Mainframes EP1A Computers and Software Equipment 5.0 \n", - "1 PCs EP1B Computers and Software Equipment 5.0 \n", - "2 DASDs EP1C Computers and Software Equipment 5.0 \n", - "3 Printers EP1D Computers and Software Equipment 5.0 \n", - "4 Terminals EP1E Computers and Software Equipment 5.0 \n", - "\n", - " GDS_life system year life method \n", - "0 5.0 GDS 2020 5.0 DB 200% \n", - "1 5.0 GDS 2020 5.0 DB 200% \n", - "2 5.0 GDS 2020 5.0 DB 200% \n", - "3 5.0 GDS 2020 5.0 DB 200% \n", - "4 5.0 GDS 2020 5.0 DB 200% \n" - ] - }, { "data": { "text/html": [ "\n", - "
\n" + "
\n" ] }, "metadata": {}, @@ -1995,7 +1706,7 @@ }, { "data": { - "application/javascript": "(function(root) {\n function embed_document(root) {\n const docs_json = {\"bbaacd71-8476-4755-8303-1fe29d1db898\":{\"version\":\"3.2.2\",\"title\":\"Bokeh Application\",\"roots\":[{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1113\",\"attributes\":{\"width\":500,\"height\":500,\"x_range\":{\"type\":\"object\",\"name\":\"Range1d\",\"id\":\"p1122\",\"attributes\":{\"start\":-0.5,\"end\":2.5}},\"y_range\":{\"type\":\"object\",\"name\":\"DataRange1d\",\"id\":\"p1115\"},\"x_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1123\"},\"y_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1124\"},\"title\":{\"type\":\"object\",\"name\":\"Title\",\"id\":\"p1120\",\"attributes\":{\"text_font\":\"Helvetica\"}},\"renderers\":[{\"type\":\"object\",\"name\":\"Span\",\"id\":\"p1138\",\"attributes\":{\"location\":0,\"line_alpha\":0.2,\"line_width\":2,\"line_dash\":[6]}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1148\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1107\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1108\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1109\"},\"data\":{\"type\":\"map\",\"entries\":[[\"mins\",[-0.09155606847470654,-0.4364303178484108,-1.1963610179150395e-16]],[\"maxes\",[0.17153671237143198,-0.06578788226151004,0.23626733773084305]],[\"means\",[0.03728521579640505,-0.262084258806486,0.11736148787988565]],[\"min_asset\",[\"Intellectual Property\",\"Intellectual Property\",\"Intellectual Property\"]],[\"max_asset\",[\"Inventories\",\"Inventories\",\"Inventories\"]],[\"mean_asset\",[\"Overall\",\"Overall\",\"Overall\"]],[\"types\",[\"Typically Financed\",\"Debt Financed\",\"Equity Financed\"]],[\"positions\",[-0.1,0.9,1.9]]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1149\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1150\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1145\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1146\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1147\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"line_width\":{\"type\":\"value\",\"value\":2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1157\",\"attributes\":{\"data_source\":{\"id\":\"p1107\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1158\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1159\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1154\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1155\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1156\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1168\",\"attributes\":{\"data_source\":{\"id\":\"p1107\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1169\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1170\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1165\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1166\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1167\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1177\",\"attributes\":{\"data_source\":{\"id\":\"p1107\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1178\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1179\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1174\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1175\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1176\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1186\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1110\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1111\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1112\"},\"data\":{\"type\":\"map\",\"entries\":[[\"mins\",[-0.044764641890598596,-0.7815749655421983,0.10026430338666585]],[\"maxes\",[0.2930542097668927,-0.13096339112672467,0.3828060809571457]],[\"means\",[0.1560221115131041,-0.41306259807735984,0.27215617091603245]],[\"min_asset\",[\"Intellectual Property\",\"Intellectual Property\",\"Intellectual Property\"]],[\"max_asset\",[\"Inventories\",\"Inventories\",\"Inventories\"]],[\"mean_asset\",[\"Overall\",\"Overall\",\"Overall\"]],[\"types\",[\"Typically Financed\",\"Debt Financed\",\"Equity Financed\"]],[\"positions\",[0.1,1.1,2.1]]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1187\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1188\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1183\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1184\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1185\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"line_width\":{\"type\":\"value\",\"value\":2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1195\",\"attributes\":{\"data_source\":{\"id\":\"p1110\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1196\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1197\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1192\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1193\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1194\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1205\",\"attributes\":{\"data_source\":{\"id\":\"p1110\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1206\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1207\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1202\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1203\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1204\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1214\",\"attributes\":{\"data_source\":{\"id\":\"p1110\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1215\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1216\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1211\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1212\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1213\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}}],\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1121\"},\"toolbar_location\":null,\"left\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1130\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1131\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"NumeralTickFormatter\",\"id\":\"p1137\",\"attributes\":{\"format\":\"0%\"}},\"axis_label\":\"Marginal Effective Tax Rate\",\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1133\"}}}],\"below\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1125\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"FixedTicker\",\"id\":\"p1135\",\"attributes\":{\"ticks\":[0,1,2],\"minor_ticks\":[]}},\"formatter\":{\"type\":\"object\",\"name\":\"CustomJSTickFormatter\",\"id\":\"p1136\",\"attributes\":{\"code\":\"\\n var types = [\\\"Typically Financed\\\", \\\"Debt Financed\\\", \\\"Equity Financed\\\"]\\n return types[tick]\\n \"}},\"axis_label\":\"Method of Financing\",\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1128\"}}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1129\",\"attributes\":{\"axis\":{\"id\":\"p1125\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1134\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1130\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1139\",\"attributes\":{\"right\":0.5,\"fill_color\":\"white\",\"fill_alpha\":0.2}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1140\",\"attributes\":{\"left\":0.5,\"right\":1.5,\"fill_color\":\"white\",\"fill_alpha\":0.1}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1141\",\"attributes\":{\"left\":1.5,\"fill_color\":\"white\",\"fill_alpha\":0.2}},{\"type\":\"object\",\"name\":\"Legend\",\"id\":\"p1160\",\"attributes\":{\"location\":\"bottom_right\",\"items\":[{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1161\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Baseline\"},\"renderers\":[{\"id\":\"p1157\"},{\"id\":\"p1168\"},{\"id\":\"p1177\"}]}},{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1198\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Reform\"},\"renderers\":[{\"id\":\"p1195\"},{\"id\":\"p1205\"},{\"id\":\"p1214\"}]}}]}}]}}]}};\n const render_items = [{\"docid\":\"bbaacd71-8476-4755-8303-1fe29d1db898\",\"roots\":{\"p1113\":\"ef513c09-f405-4813-8d31-53872bdd3bbe\"},\"root_ids\":[\"p1113\"]}];\n root.Bokeh.embed.embed_items_notebook(docs_json, render_items);\n }\n if (root.Bokeh !== undefined) {\n embed_document(root);\n } else {\n let attempts = 0;\n const timer = setInterval(function(root) {\n if (root.Bokeh !== undefined) {\n clearInterval(timer);\n embed_document(root);\n } else {\n attempts++;\n if (attempts > 100) {\n clearInterval(timer);\n console.log(\"Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing\");\n }\n }\n }, 10, root)\n }\n})(window);", + "application/javascript": "(function(root) {\n function embed_document(root) {\n const docs_json = {\"c36a71be-7ee6-479d-8d36-d1ffd3985560\":{\"version\":\"3.3.4\",\"title\":\"Bokeh Application\",\"roots\":[{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1113\",\"attributes\":{\"width\":500,\"height\":500,\"x_range\":{\"type\":\"object\",\"name\":\"Range1d\",\"id\":\"p1122\",\"attributes\":{\"start\":-0.5,\"end\":2.5}},\"y_range\":{\"type\":\"object\",\"name\":\"DataRange1d\",\"id\":\"p1115\"},\"x_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1123\"},\"y_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1124\"},\"title\":{\"type\":\"object\",\"name\":\"Title\",\"id\":\"p1120\",\"attributes\":{\"text_font\":\"Helvetica\"}},\"renderers\":[{\"type\":\"object\",\"name\":\"Span\",\"id\":\"p1138\",\"attributes\":{\"location\":0,\"line_alpha\":0.2,\"line_width\":2,\"line_dash\":[6]}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1160\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1107\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1108\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1109\"},\"data\":{\"type\":\"map\",\"entries\":[[\"mins\",[-0.05624938214693948,-0.3744565589681074,0.0311734886205302]],[\"maxes\",[0.17012718109918695,-0.061244989151262315,0.2349718929324775]],[\"means\",[0.05926072586790452,-0.22269195806682882,0.13716009827816375]],[\"min_asset\",[\"Intellectual Property\",\"Intellectual Property\",\"Intellectual Property\"]],[\"max_asset\",[\"Inventories\",\"Inventories\",\"Inventories\"]],[\"mean_asset\",[\"Overall\",\"Overall\",\"Overall\"]],[\"types\",[\"Typically Financed\",\"Debt Financed\",\"Equity Financed\"]],[\"positions\",[-0.1,0.9,1.9]]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1161\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1162\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1157\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1158\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1159\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"line_width\":{\"type\":\"value\",\"value\":2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1169\",\"attributes\":{\"data_source\":{\"id\":\"p1107\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1170\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1171\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1166\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1167\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1168\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1180\",\"attributes\":{\"data_source\":{\"id\":\"p1107\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1181\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1182\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1177\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1178\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1179\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1189\",\"attributes\":{\"data_source\":{\"id\":\"p1107\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1190\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1191\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1186\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1187\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1188\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1198\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1110\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1111\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1112\"},\"data\":{\"type\":\"map\",\"entries\":[[\"mins\",[0.2450830790098336,-0.28925619834710714,0.3499999999999998]],[\"maxes\",[0.4473580083611413,0.31159203105817856,0.48686856970008235]],[\"means\",[0.3273535955745844,0.01554836808094234,0.40190465929171454]],[\"min_asset\",[\"Land\",\"Land\",\"Land\"]],[\"max_asset\",[\"Intellectual Property\",\"Intellectual Property\",\"Intellectual Property\"]],[\"mean_asset\",[\"Overall\",\"Overall\",\"Overall\"]],[\"types\",[\"Typically Financed\",\"Debt Financed\",\"Equity Financed\"]],[\"positions\",[0.1,1.1,2.1]]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1199\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1200\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1195\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1196\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1197\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"line_width\":{\"type\":\"value\",\"value\":2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1207\",\"attributes\":{\"data_source\":{\"id\":\"p1110\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1208\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1209\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1204\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1205\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1206\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1217\",\"attributes\":{\"data_source\":{\"id\":\"p1110\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1218\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1219\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1214\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1215\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1216\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1226\",\"attributes\":{\"data_source\":{\"id\":\"p1110\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1227\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1228\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1223\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1224\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1225\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}}],\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1121\"},\"toolbar_location\":null,\"left\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1130\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1131\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"NumeralTickFormatter\",\"id\":\"p1137\",\"attributes\":{\"format\":\"0%\"}},\"axis_label\":\"Marginal Effective Tax Rate\",\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1133\"}}}],\"below\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1125\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"FixedTicker\",\"id\":\"p1135\",\"attributes\":{\"ticks\":[0,1,2],\"minor_ticks\":[]}},\"formatter\":{\"type\":\"object\",\"name\":\"CustomJSTickFormatter\",\"id\":\"p1136\",\"attributes\":{\"code\":\"\\n var types = [\\\"Typically Financed\\\", \\\"Debt Financed\\\", \\\"Equity Financed\\\"]\\n return types[tick]\\n \"}},\"axis_label\":\"Method of Financing\",\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1128\"}}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1129\",\"attributes\":{\"axis\":{\"id\":\"p1125\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1134\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1130\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1139\",\"attributes\":{\"left\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1141\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"left\"}},\"right\":0.5,\"top\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1142\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"top\"}},\"bottom\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1143\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"bottom\"}},\"fill_color\":\"white\",\"fill_alpha\":0.2}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1144\",\"attributes\":{\"left\":0.5,\"right\":1.5,\"top\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1147\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"top\"}},\"bottom\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1148\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"bottom\"}},\"fill_color\":\"white\",\"fill_alpha\":0.1}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1149\",\"attributes\":{\"left\":1.5,\"right\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1151\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"right\"}},\"top\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1152\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"top\"}},\"bottom\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1153\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"bottom\"}},\"fill_color\":\"white\",\"fill_alpha\":0.2}},{\"type\":\"object\",\"name\":\"Legend\",\"id\":\"p1172\",\"attributes\":{\"location\":\"bottom_right\",\"items\":[{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1173\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Baseline\"},\"renderers\":[{\"id\":\"p1169\"},{\"id\":\"p1180\"},{\"id\":\"p1189\"}]}},{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1210\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Reform\"},\"renderers\":[{\"id\":\"p1207\"},{\"id\":\"p1217\"},{\"id\":\"p1226\"}]}}]}}]}}]}};\n const render_items = [{\"docid\":\"c36a71be-7ee6-479d-8d36-d1ffd3985560\",\"roots\":{\"p1113\":\"f236062e-a4a3-4e12-82a2-c1cd07c0aa56\"},\"root_ids\":[\"p1113\"]}];\n root.Bokeh.embed.embed_items_notebook(docs_json, render_items);\n }\n if (root.Bokeh !== undefined) {\n embed_document(root);\n } else {\n let attempts = 0;\n const timer = setInterval(function(root) {\n if (root.Bokeh !== undefined) {\n clearInterval(timer);\n embed_document(root);\n } else {\n attempts++;\n if (attempts > 100) {\n clearInterval(timer);\n console.log(\"Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing\");\n }\n }\n }, 10, root)\n }\n})(window);", "application/vnd.bokehjs_exec.v0+json": "" }, "metadata": { @@ -2021,14 +1732,14 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 17, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", - "
\n" + "
\n" ] }, "metadata": {}, @@ -2036,7 +1747,7 @@ }, { "data": { - "application/javascript": "(function(root) {\n function embed_document(root) {\n const docs_json = {\"4b146e0c-dac2-4c42-8ae5-46a73d83da4d\":{\"version\":\"3.2.2\",\"title\":\"Bokeh Application\",\"roots\":[{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1113\",\"attributes\":{\"width\":500,\"height\":500,\"x_range\":{\"type\":\"object\",\"name\":\"Range1d\",\"id\":\"p1122\",\"attributes\":{\"start\":-0.5,\"end\":2.5}},\"y_range\":{\"type\":\"object\",\"name\":\"DataRange1d\",\"id\":\"p1115\"},\"x_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1123\"},\"y_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1124\"},\"title\":{\"type\":\"object\",\"name\":\"Title\",\"id\":\"p1120\",\"attributes\":{\"text_font\":\"Helvetica\"}},\"renderers\":[{\"type\":\"object\",\"name\":\"Span\",\"id\":\"p1138\",\"attributes\":{\"location\":0,\"line_alpha\":0.2,\"line_width\":2,\"line_dash\":[6]}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1148\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1107\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1108\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1109\"},\"data\":{\"type\":\"map\",\"entries\":[[\"mins\",[-0.09155606847470654,-0.4364303178484108,-1.1963610179150395e-16]],[\"maxes\",[0.17153671237143198,-0.06578788226151004,0.23626733773084305]],[\"means\",[0.03728521579640505,-0.262084258806486,0.11736148787988565]],[\"min_asset\",[\"Intellectual Property\",\"Intellectual Property\",\"Intellectual Property\"]],[\"max_asset\",[\"Inventories\",\"Inventories\",\"Inventories\"]],[\"mean_asset\",[\"Overall\",\"Overall\",\"Overall\"]],[\"types\",[\"Typically Financed\",\"Debt Financed\",\"Equity Financed\"]],[\"positions\",[-0.1,0.9,1.9]]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1149\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1150\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1145\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1146\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1147\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"line_width\":{\"type\":\"value\",\"value\":2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1157\",\"attributes\":{\"data_source\":{\"id\":\"p1107\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1158\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1159\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1154\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1155\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1156\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1168\",\"attributes\":{\"data_source\":{\"id\":\"p1107\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1169\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1170\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1165\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1166\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1167\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1177\",\"attributes\":{\"data_source\":{\"id\":\"p1107\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1178\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1179\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1174\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1175\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1176\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1186\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1110\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1111\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1112\"},\"data\":{\"type\":\"map\",\"entries\":[[\"mins\",[-0.044764641890598596,-0.7815749655421983,0.10026430338666585]],[\"maxes\",[0.2930542097668927,-0.13096339112672467,0.3828060809571457]],[\"means\",[0.1560221115131041,-0.41306259807735984,0.27215617091603245]],[\"min_asset\",[\"Intellectual Property\",\"Intellectual Property\",\"Intellectual Property\"]],[\"max_asset\",[\"Inventories\",\"Inventories\",\"Inventories\"]],[\"mean_asset\",[\"Overall\",\"Overall\",\"Overall\"]],[\"types\",[\"Typically Financed\",\"Debt Financed\",\"Equity Financed\"]],[\"positions\",[0.1,1.1,2.1]]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1187\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1188\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1183\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1184\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1185\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"line_width\":{\"type\":\"value\",\"value\":2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1195\",\"attributes\":{\"data_source\":{\"id\":\"p1110\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1196\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1197\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1192\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1193\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1194\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1205\",\"attributes\":{\"data_source\":{\"id\":\"p1110\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1206\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1207\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1202\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1203\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1204\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1214\",\"attributes\":{\"data_source\":{\"id\":\"p1110\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1215\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1216\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1211\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1212\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1213\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}}],\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1121\"},\"toolbar_location\":null,\"left\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1130\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1131\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"NumeralTickFormatter\",\"id\":\"p1137\",\"attributes\":{\"format\":\"0%\"}},\"axis_label\":\"Marginal Effective Tax Rate\",\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1133\"}}}],\"below\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1125\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"FixedTicker\",\"id\":\"p1135\",\"attributes\":{\"ticks\":[0,1,2],\"minor_ticks\":[]}},\"formatter\":{\"type\":\"object\",\"name\":\"CustomJSTickFormatter\",\"id\":\"p1136\",\"attributes\":{\"code\":\"\\n var types = [\\\"Typically Financed\\\", \\\"Debt Financed\\\", \\\"Equity Financed\\\"]\\n return types[tick]\\n \"}},\"axis_label\":\"Method of Financing\",\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1128\"}}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1129\",\"attributes\":{\"axis\":{\"id\":\"p1125\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1134\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1130\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1139\",\"attributes\":{\"right\":0.5,\"fill_color\":\"white\",\"fill_alpha\":0.2}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1140\",\"attributes\":{\"left\":0.5,\"right\":1.5,\"fill_color\":\"white\",\"fill_alpha\":0.1}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1141\",\"attributes\":{\"left\":1.5,\"fill_color\":\"white\",\"fill_alpha\":0.2}},{\"type\":\"object\",\"name\":\"Legend\",\"id\":\"p1160\",\"attributes\":{\"location\":\"bottom_right\",\"items\":[{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1161\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Baseline\"},\"renderers\":[{\"id\":\"p1157\"},{\"id\":\"p1168\"},{\"id\":\"p1177\"}]}},{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1198\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Reform\"},\"renderers\":[{\"id\":\"p1195\"},{\"id\":\"p1205\"},{\"id\":\"p1214\"}]}}]}}]}}]}};\n const render_items = [{\"docid\":\"4b146e0c-dac2-4c42-8ae5-46a73d83da4d\",\"roots\":{\"p1113\":\"f9cb3082-7309-4914-aa78-8a5243c13a28\"},\"root_ids\":[\"p1113\"]}];\n root.Bokeh.embed.embed_items_notebook(docs_json, render_items);\n }\n if (root.Bokeh !== undefined) {\n embed_document(root);\n } else {\n let attempts = 0;\n const timer = setInterval(function(root) {\n if (root.Bokeh !== undefined) {\n clearInterval(timer);\n embed_document(root);\n } else {\n attempts++;\n if (attempts > 100) {\n clearInterval(timer);\n console.log(\"Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing\");\n }\n }\n }, 10, root)\n }\n})(window);", + "application/javascript": "(function(root) {\n function embed_document(root) {\n const docs_json = {\"d16e7a49-53bf-4210-8a37-ade9623eed6e\":{\"version\":\"3.3.4\",\"title\":\"Bokeh Application\",\"roots\":[{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1113\",\"attributes\":{\"width\":500,\"height\":500,\"x_range\":{\"type\":\"object\",\"name\":\"Range1d\",\"id\":\"p1122\",\"attributes\":{\"start\":-0.5,\"end\":2.5}},\"y_range\":{\"type\":\"object\",\"name\":\"DataRange1d\",\"id\":\"p1115\"},\"x_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1123\"},\"y_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1124\"},\"title\":{\"type\":\"object\",\"name\":\"Title\",\"id\":\"p1120\",\"attributes\":{\"text_font\":\"Helvetica\"}},\"renderers\":[{\"type\":\"object\",\"name\":\"Span\",\"id\":\"p1138\",\"attributes\":{\"location\":0,\"line_alpha\":0.2,\"line_width\":2,\"line_dash\":[6]}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1160\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1107\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1108\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1109\"},\"data\":{\"type\":\"map\",\"entries\":[[\"mins\",[-0.05624938214693948,-0.3744565589681074,0.0311734886205302]],[\"maxes\",[0.17012718109918695,-0.061244989151262315,0.2349718929324775]],[\"means\",[0.05926072586790452,-0.22269195806682882,0.13716009827816375]],[\"min_asset\",[\"Intellectual Property\",\"Intellectual Property\",\"Intellectual Property\"]],[\"max_asset\",[\"Inventories\",\"Inventories\",\"Inventories\"]],[\"mean_asset\",[\"Overall\",\"Overall\",\"Overall\"]],[\"types\",[\"Typically Financed\",\"Debt Financed\",\"Equity Financed\"]],[\"positions\",[-0.1,0.9,1.9]]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1161\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1162\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1157\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1158\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1159\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"line_width\":{\"type\":\"value\",\"value\":2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1169\",\"attributes\":{\"data_source\":{\"id\":\"p1107\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1170\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1171\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1166\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1167\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1168\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1180\",\"attributes\":{\"data_source\":{\"id\":\"p1107\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1181\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1182\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1177\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1178\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1179\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1189\",\"attributes\":{\"data_source\":{\"id\":\"p1107\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1190\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1191\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1186\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1187\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1188\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1198\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1110\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1111\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1112\"},\"data\":{\"type\":\"map\",\"entries\":[[\"mins\",[0.2450830790098336,-0.28925619834710714,0.3499999999999998]],[\"maxes\",[0.4473580083611413,0.31159203105817856,0.48686856970008235]],[\"means\",[0.3273535955745844,0.01554836808094234,0.40190465929171454]],[\"min_asset\",[\"Land\",\"Land\",\"Land\"]],[\"max_asset\",[\"Intellectual Property\",\"Intellectual Property\",\"Intellectual Property\"]],[\"mean_asset\",[\"Overall\",\"Overall\",\"Overall\"]],[\"types\",[\"Typically Financed\",\"Debt Financed\",\"Equity Financed\"]],[\"positions\",[0.1,1.1,2.1]]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1199\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1200\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1195\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1196\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1197\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"line_width\":{\"type\":\"value\",\"value\":2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1207\",\"attributes\":{\"data_source\":{\"id\":\"p1110\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1208\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1209\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1204\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1205\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1206\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1217\",\"attributes\":{\"data_source\":{\"id\":\"p1110\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1218\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1219\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1214\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1215\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1216\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1226\",\"attributes\":{\"data_source\":{\"id\":\"p1110\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1227\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1228\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1223\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1224\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1225\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}}],\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1121\"},\"toolbar_location\":null,\"left\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1130\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1131\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"NumeralTickFormatter\",\"id\":\"p1137\",\"attributes\":{\"format\":\"0%\"}},\"axis_label\":\"Marginal Effective Tax Rate\",\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1133\"}}}],\"below\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1125\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"FixedTicker\",\"id\":\"p1135\",\"attributes\":{\"ticks\":[0,1,2],\"minor_ticks\":[]}},\"formatter\":{\"type\":\"object\",\"name\":\"CustomJSTickFormatter\",\"id\":\"p1136\",\"attributes\":{\"code\":\"\\n var types = [\\\"Typically Financed\\\", \\\"Debt Financed\\\", \\\"Equity Financed\\\"]\\n return types[tick]\\n \"}},\"axis_label\":\"Method of Financing\",\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1128\"}}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1129\",\"attributes\":{\"axis\":{\"id\":\"p1125\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1134\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1130\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1139\",\"attributes\":{\"left\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1141\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"left\"}},\"right\":0.5,\"top\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1142\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"top\"}},\"bottom\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1143\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"bottom\"}},\"fill_color\":\"white\",\"fill_alpha\":0.2}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1144\",\"attributes\":{\"left\":0.5,\"right\":1.5,\"top\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1147\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"top\"}},\"bottom\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1148\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"bottom\"}},\"fill_color\":\"white\",\"fill_alpha\":0.1}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1149\",\"attributes\":{\"left\":1.5,\"right\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1151\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"right\"}},\"top\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1152\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"top\"}},\"bottom\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1153\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"bottom\"}},\"fill_color\":\"white\",\"fill_alpha\":0.2}},{\"type\":\"object\",\"name\":\"Legend\",\"id\":\"p1172\",\"attributes\":{\"location\":\"bottom_right\",\"items\":[{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1173\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Baseline\"},\"renderers\":[{\"id\":\"p1169\"},{\"id\":\"p1180\"},{\"id\":\"p1189\"}]}},{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1210\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Reform\"},\"renderers\":[{\"id\":\"p1207\"},{\"id\":\"p1217\"},{\"id\":\"p1226\"}]}}]}}]}}]}};\n const render_items = [{\"docid\":\"d16e7a49-53bf-4210-8a37-ade9623eed6e\",\"roots\":{\"p1113\":\"f14f6b93-93b8-423c-91bd-a09db1e5465f\"},\"root_ids\":[\"p1113\"]}];\n root.Bokeh.embed.embed_items_notebook(docs_json, render_items);\n }\n if (root.Bokeh !== undefined) {\n embed_document(root);\n } else {\n let attempts = 0;\n const timer = setInterval(function(root) {\n if (root.Bokeh !== undefined) {\n clearInterval(timer);\n embed_document(root);\n } else {\n attempts++;\n if (attempts > 100) {\n clearInterval(timer);\n console.log(\"Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing\");\n }\n }\n }, 10, root)\n }\n})(window);", "application/vnd.bokehjs_exec.v0+json": "" }, "metadata": { @@ -2053,13 +1764,13 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 18, "metadata": {}, "outputs": [ { "data": { "text/html": [ - "\n", "
\n", " \n", - " Loading BokehJS ...\n", + " Loading BokehJS ...\n", "
\n" ] }, @@ -2078,75 +1789,17 @@ }, { "data": { - "application/javascript": "(function(root) {\n function now() {\n return new Date();\n }\n\n const force = true;\n\n if (typeof root._bokeh_onload_callbacks === \"undefined\" || force === true) {\n root._bokeh_onload_callbacks = [];\n root._bokeh_is_loading = undefined;\n }\n\nconst JS_MIME_TYPE = 'application/javascript';\n const HTML_MIME_TYPE = 'text/html';\n const EXEC_MIME_TYPE = 'application/vnd.bokehjs_exec.v0+json';\n const CLASS_NAME = 'output_bokeh rendered_html';\n\n /**\n * Render data to the DOM node\n */\n function render(props, node) {\n const script = document.createElement(\"script\");\n node.appendChild(script);\n }\n\n /**\n * Handle when an output is cleared or removed\n */\n function handleClearOutput(event, handle) {\n const cell = handle.cell;\n\n const id = cell.output_area._bokeh_element_id;\n const server_id = cell.output_area._bokeh_server_id;\n // Clean up Bokeh references\n if (id != null && id in Bokeh.index) {\n Bokeh.index[id].model.document.clear();\n delete Bokeh.index[id];\n }\n\n if (server_id !== undefined) {\n // Clean up Bokeh references\n const cmd_clean = \"from bokeh.io.state import curstate; print(curstate().uuid_to_server['\" + server_id + \"'].get_sessions()[0].document.roots[0]._id)\";\n cell.notebook.kernel.execute(cmd_clean, {\n iopub: {\n output: function(msg) {\n const id = msg.content.text.trim();\n if (id in Bokeh.index) {\n Bokeh.index[id].model.document.clear();\n delete Bokeh.index[id];\n }\n }\n }\n });\n // Destroy server and session\n const cmd_destroy = \"import bokeh.io.notebook as ion; ion.destroy_server('\" + server_id + \"')\";\n cell.notebook.kernel.execute(cmd_destroy);\n }\n }\n\n /**\n * Handle when a new output is added\n */\n function handleAddOutput(event, handle) {\n const output_area = handle.output_area;\n const output = handle.output;\n\n // limit handleAddOutput to display_data with EXEC_MIME_TYPE content only\n if ((output.output_type != \"display_data\") || (!Object.prototype.hasOwnProperty.call(output.data, EXEC_MIME_TYPE))) {\n return\n }\n\n const toinsert = output_area.element.find(\".\" + CLASS_NAME.split(' ')[0]);\n\n if (output.metadata[EXEC_MIME_TYPE][\"id\"] !== undefined) {\n toinsert[toinsert.length - 1].firstChild.textContent = output.data[JS_MIME_TYPE];\n // store reference to embed id on output_area\n output_area._bokeh_element_id = output.metadata[EXEC_MIME_TYPE][\"id\"];\n }\n if (output.metadata[EXEC_MIME_TYPE][\"server_id\"] !== undefined) {\n const bk_div = document.createElement(\"div\");\n bk_div.innerHTML = output.data[HTML_MIME_TYPE];\n const script_attrs = bk_div.children[0].attributes;\n for (let i = 0; i < script_attrs.length; i++) {\n toinsert[toinsert.length - 1].firstChild.setAttribute(script_attrs[i].name, script_attrs[i].value);\n toinsert[toinsert.length - 1].firstChild.textContent = bk_div.children[0].textContent\n }\n // store reference to server id on output_area\n output_area._bokeh_server_id = output.metadata[EXEC_MIME_TYPE][\"server_id\"];\n }\n }\n\n function register_renderer(events, OutputArea) {\n\n function append_mime(data, metadata, element) {\n // create a DOM node to render to\n const toinsert = this.create_output_subarea(\n metadata,\n CLASS_NAME,\n EXEC_MIME_TYPE\n );\n this.keyboard_manager.register_events(toinsert);\n // Render to node\n const props = {data: data, metadata: metadata[EXEC_MIME_TYPE]};\n render(props, toinsert[toinsert.length - 1]);\n element.append(toinsert);\n return toinsert\n }\n\n /* Handle when an output is cleared or removed */\n events.on('clear_output.CodeCell', handleClearOutput);\n events.on('delete.Cell', handleClearOutput);\n\n /* Handle when a new output is added */\n events.on('output_added.OutputArea', handleAddOutput);\n\n /**\n * Register the mime type and append_mime function with output_area\n */\n OutputArea.prototype.register_mime_type(EXEC_MIME_TYPE, append_mime, {\n /* Is output safe? */\n safe: true,\n /* Index of renderer in `output_area.display_order` */\n index: 0\n });\n }\n\n // register the mime type if in Jupyter Notebook environment and previously unregistered\n if (root.Jupyter !== undefined) {\n const events = require('base/js/events');\n const OutputArea = require('notebook/js/outputarea').OutputArea;\n\n if (OutputArea.prototype.mime_types().indexOf(EXEC_MIME_TYPE) == -1) {\n register_renderer(events, OutputArea);\n }\n }\n if (typeof (root._bokeh_timeout) === \"undefined\" || force === true) {\n root._bokeh_timeout = Date.now() + 5000;\n root._bokeh_failed_load = false;\n }\n\n const NB_LOAD_WARNING = {'data': {'text/html':\n \"
\\n\"+\n \"

\\n\"+\n \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n \"

\\n\"+\n \"
    \\n\"+\n \"
  • re-rerun `output_notebook()` to attempt to load from CDN again, or
  • \\n\"+\n \"
  • use INLINE resources instead, as so:
  • \\n\"+\n \"
\\n\"+\n \"\\n\"+\n \"from bokeh.resources import INLINE\\n\"+\n \"output_notebook(resources=INLINE)\\n\"+\n \"\\n\"+\n \"
\"}};\n\n function display_loaded() {\n const el = document.getElementById(\"c4c6a1ba-48c9-48c7-9be4-c1dba86659cc\");\n if (el != null) {\n el.textContent = \"BokehJS is loading...\";\n }\n if (root.Bokeh !== undefined) {\n if (el != null) {\n el.textContent = \"BokehJS \" + root.Bokeh.version + \" successfully loaded.\";\n }\n } else if (Date.now() < root._bokeh_timeout) {\n setTimeout(display_loaded, 100)\n }\n }\n\n function run_callbacks() {\n try {\n root._bokeh_onload_callbacks.forEach(function(callback) {\n if (callback != null)\n callback();\n });\n } finally {\n delete root._bokeh_onload_callbacks\n }\n console.debug(\"Bokeh: all callbacks have finished\");\n }\n\n function load_libs(css_urls, js_urls, callback) {\n if (css_urls == null) css_urls = [];\n if (js_urls == null) js_urls = [];\n\n root._bokeh_onload_callbacks.push(callback);\n if (root._bokeh_is_loading > 0) {\n console.debug(\"Bokeh: BokehJS is being loaded, scheduling callback at\", now());\n return null;\n }\n if (js_urls == null || js_urls.length === 0) {\n run_callbacks();\n return null;\n }\n console.debug(\"Bokeh: BokehJS not loaded, scheduling load and callback at\", now());\n root._bokeh_is_loading = css_urls.length + js_urls.length;\n\n function on_load() {\n root._bokeh_is_loading--;\n if (root._bokeh_is_loading === 0) {\n console.debug(\"Bokeh: all BokehJS libraries/stylesheets loaded\");\n run_callbacks()\n }\n }\n\n function on_error(url) {\n console.error(\"failed to load \" + url);\n }\n\n for (let i = 0; i < css_urls.length; i++) {\n const url = css_urls[i];\n const element = document.createElement(\"link\");\n element.onload = on_load;\n element.onerror = on_error.bind(null, url);\n element.rel = \"stylesheet\";\n element.type = \"text/css\";\n element.href = url;\n console.debug(\"Bokeh: injecting link tag for BokehJS stylesheet: \", url);\n document.body.appendChild(element);\n }\n\n for (let i = 0; i < js_urls.length; i++) {\n const url = js_urls[i];\n const element = document.createElement('script');\n element.onload = on_load;\n element.onerror = on_error.bind(null, url);\n element.async = false;\n element.src = url;\n console.debug(\"Bokeh: injecting script tag for BokehJS library: \", url);\n document.head.appendChild(element);\n }\n };\n\n function inject_raw_css(css) {\n const element = document.createElement(\"style\");\n element.appendChild(document.createTextNode(css));\n document.body.appendChild(element);\n }\n\n const js_urls = [\"https://cdn.bokeh.org/bokeh/release/bokeh-3.2.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-gl-3.2.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.2.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.2.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-3.2.2.min.js\"];\n const css_urls = [];\n\n const inline_js = [ function(Bokeh) {\n Bokeh.set_log_level(\"info\");\n },\nfunction(Bokeh) {\n }\n ];\n\n function run_inline_js() {\n if (root.Bokeh !== undefined || force === true) {\n for (let i = 0; i < inline_js.length; i++) {\n inline_js[i].call(root, root.Bokeh);\n }\nif (force === true) {\n display_loaded();\n }} else if (Date.now() < root._bokeh_timeout) {\n setTimeout(run_inline_js, 100);\n } else if (!root._bokeh_failed_load) {\n console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n root._bokeh_failed_load = true;\n } else if (force !== true) {\n const cell = $(document.getElementById(\"c4c6a1ba-48c9-48c7-9be4-c1dba86659cc\")).parents('.cell').data().cell;\n cell.output_area.append_execute_result(NB_LOAD_WARNING)\n }\n }\n\n if (root._bokeh_is_loading === 0) {\n console.debug(\"Bokeh: BokehJS loaded, going straight to plotting\");\n run_inline_js();\n } else {\n load_libs(css_urls, js_urls, function() {\n console.debug(\"Bokeh: BokehJS plotting callback run at\", now());\n run_inline_js();\n });\n }\n}(window));", + "application/javascript": "(function(root) {\n function now() {\n return new Date();\n }\n\n const force = true;\n\n if (typeof root._bokeh_onload_callbacks === \"undefined\" || force === true) {\n root._bokeh_onload_callbacks = [];\n root._bokeh_is_loading = undefined;\n }\n\nconst JS_MIME_TYPE = 'application/javascript';\n const HTML_MIME_TYPE = 'text/html';\n const EXEC_MIME_TYPE = 'application/vnd.bokehjs_exec.v0+json';\n const CLASS_NAME = 'output_bokeh rendered_html';\n\n /**\n * Render data to the DOM node\n */\n function render(props, node) {\n const script = document.createElement(\"script\");\n node.appendChild(script);\n }\n\n /**\n * Handle when an output is cleared or removed\n */\n function handleClearOutput(event, handle) {\n function drop(id) {\n const view = Bokeh.index.get_by_id(id)\n if (view != null) {\n view.model.document.clear()\n Bokeh.index.delete(view)\n }\n }\n\n const cell = handle.cell;\n\n const id = cell.output_area._bokeh_element_id;\n const server_id = cell.output_area._bokeh_server_id;\n\n // Clean up Bokeh references\n if (id != null) {\n drop(id)\n }\n\n if (server_id !== undefined) {\n // Clean up Bokeh references\n const cmd_clean = \"from bokeh.io.state import curstate; print(curstate().uuid_to_server['\" + server_id + \"'].get_sessions()[0].document.roots[0]._id)\";\n cell.notebook.kernel.execute(cmd_clean, {\n iopub: {\n output: function(msg) {\n const id = msg.content.text.trim()\n drop(id)\n }\n }\n });\n // Destroy server and session\n const cmd_destroy = \"import bokeh.io.notebook as ion; ion.destroy_server('\" + server_id + \"')\";\n cell.notebook.kernel.execute(cmd_destroy);\n }\n }\n\n /**\n * Handle when a new output is added\n */\n function handleAddOutput(event, handle) {\n const output_area = handle.output_area;\n const output = handle.output;\n\n // limit handleAddOutput to display_data with EXEC_MIME_TYPE content only\n if ((output.output_type != \"display_data\") || (!Object.prototype.hasOwnProperty.call(output.data, EXEC_MIME_TYPE))) {\n return\n }\n\n const toinsert = output_area.element.find(\".\" + CLASS_NAME.split(' ')[0]);\n\n if (output.metadata[EXEC_MIME_TYPE][\"id\"] !== undefined) {\n toinsert[toinsert.length - 1].firstChild.textContent = output.data[JS_MIME_TYPE];\n // store reference to embed id on output_area\n output_area._bokeh_element_id = output.metadata[EXEC_MIME_TYPE][\"id\"];\n }\n if (output.metadata[EXEC_MIME_TYPE][\"server_id\"] !== undefined) {\n const bk_div = document.createElement(\"div\");\n bk_div.innerHTML = output.data[HTML_MIME_TYPE];\n const script_attrs = bk_div.children[0].attributes;\n for (let i = 0; i < script_attrs.length; i++) {\n toinsert[toinsert.length - 1].firstChild.setAttribute(script_attrs[i].name, script_attrs[i].value);\n toinsert[toinsert.length - 1].firstChild.textContent = bk_div.children[0].textContent\n }\n // store reference to server id on output_area\n output_area._bokeh_server_id = output.metadata[EXEC_MIME_TYPE][\"server_id\"];\n }\n }\n\n function register_renderer(events, OutputArea) {\n\n function append_mime(data, metadata, element) {\n // create a DOM node to render to\n const toinsert = this.create_output_subarea(\n metadata,\n CLASS_NAME,\n EXEC_MIME_TYPE\n );\n this.keyboard_manager.register_events(toinsert);\n // Render to node\n const props = {data: data, metadata: metadata[EXEC_MIME_TYPE]};\n render(props, toinsert[toinsert.length - 1]);\n element.append(toinsert);\n return toinsert\n }\n\n /* Handle when an output is cleared or removed */\n events.on('clear_output.CodeCell', handleClearOutput);\n events.on('delete.Cell', handleClearOutput);\n\n /* Handle when a new output is added */\n events.on('output_added.OutputArea', handleAddOutput);\n\n /**\n * Register the mime type and append_mime function with output_area\n */\n OutputArea.prototype.register_mime_type(EXEC_MIME_TYPE, append_mime, {\n /* Is output safe? */\n safe: true,\n /* Index of renderer in `output_area.display_order` */\n index: 0\n });\n }\n\n // register the mime type if in Jupyter Notebook environment and previously unregistered\n if (root.Jupyter !== undefined) {\n const events = require('base/js/events');\n const OutputArea = require('notebook/js/outputarea').OutputArea;\n\n if (OutputArea.prototype.mime_types().indexOf(EXEC_MIME_TYPE) == -1) {\n register_renderer(events, OutputArea);\n }\n }\n if (typeof (root._bokeh_timeout) === \"undefined\" || force === true) {\n root._bokeh_timeout = Date.now() + 5000;\n root._bokeh_failed_load = false;\n }\n\n const NB_LOAD_WARNING = {'data': {'text/html':\n \"
\\n\"+\n \"

\\n\"+\n \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n \"

\\n\"+\n \"
    \\n\"+\n \"
  • re-rerun `output_notebook()` to attempt to load from CDN again, or
  • \\n\"+\n \"
  • use INLINE resources instead, as so:
  • \\n\"+\n \"
\\n\"+\n \"\\n\"+\n \"from bokeh.resources import INLINE\\n\"+\n \"output_notebook(resources=INLINE)\\n\"+\n \"\\n\"+\n \"
\"}};\n\n function display_loaded() {\n const el = document.getElementById(\"e60272ff-292d-481c-adeb-c13daab76732\");\n if (el != null) {\n el.textContent = \"BokehJS is loading...\";\n }\n if (root.Bokeh !== undefined) {\n if (el != null) {\n el.textContent = \"BokehJS \" + root.Bokeh.version + \" successfully loaded.\";\n }\n } else if (Date.now() < root._bokeh_timeout) {\n setTimeout(display_loaded, 100)\n }\n }\n\n function run_callbacks() {\n try {\n root._bokeh_onload_callbacks.forEach(function(callback) {\n if (callback != null)\n callback();\n });\n } finally {\n delete root._bokeh_onload_callbacks\n }\n console.debug(\"Bokeh: all callbacks have finished\");\n }\n\n function load_libs(css_urls, js_urls, callback) {\n if (css_urls == null) css_urls = [];\n if (js_urls == null) js_urls = [];\n\n root._bokeh_onload_callbacks.push(callback);\n if (root._bokeh_is_loading > 0) {\n console.debug(\"Bokeh: BokehJS is being loaded, scheduling callback at\", now());\n return null;\n }\n if (js_urls == null || js_urls.length === 0) {\n run_callbacks();\n return null;\n }\n console.debug(\"Bokeh: BokehJS not loaded, scheduling load and callback at\", now());\n root._bokeh_is_loading = css_urls.length + js_urls.length;\n\n function on_load() {\n root._bokeh_is_loading--;\n if (root._bokeh_is_loading === 0) {\n console.debug(\"Bokeh: all BokehJS libraries/stylesheets loaded\");\n run_callbacks()\n }\n }\n\n function on_error(url) {\n console.error(\"failed to load \" + url);\n }\n\n for (let i = 0; i < css_urls.length; i++) {\n const url = css_urls[i];\n const element = document.createElement(\"link\");\n element.onload = on_load;\n element.onerror = on_error.bind(null, url);\n element.rel = \"stylesheet\";\n element.type = \"text/css\";\n element.href = url;\n console.debug(\"Bokeh: injecting link tag for BokehJS stylesheet: \", url);\n document.body.appendChild(element);\n }\n\n for (let i = 0; i < js_urls.length; i++) {\n const url = js_urls[i];\n const element = document.createElement('script');\n element.onload = on_load;\n element.onerror = on_error.bind(null, url);\n element.async = false;\n element.src = url;\n console.debug(\"Bokeh: injecting script tag for BokehJS library: \", url);\n document.head.appendChild(element);\n }\n };\n\n function inject_raw_css(css) {\n const element = document.createElement(\"style\");\n element.appendChild(document.createTextNode(css));\n document.body.appendChild(element);\n }\n\n const js_urls = [\"https://cdn.bokeh.org/bokeh/release/bokeh-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-gl-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-3.3.4.min.js\"];\n const css_urls = [];\n\n const inline_js = [ function(Bokeh) {\n Bokeh.set_log_level(\"info\");\n },\nfunction(Bokeh) {\n }\n ];\n\n function run_inline_js() {\n if (root.Bokeh !== undefined || force === true) {\n for (let i = 0; i < inline_js.length; i++) {\n inline_js[i].call(root, root.Bokeh);\n }\nif (force === true) {\n display_loaded();\n }} else if (Date.now() < root._bokeh_timeout) {\n setTimeout(run_inline_js, 100);\n } else if (!root._bokeh_failed_load) {\n console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n root._bokeh_failed_load = true;\n } else if (force !== true) {\n const cell = $(document.getElementById(\"e60272ff-292d-481c-adeb-c13daab76732\")).parents('.cell').data().cell;\n cell.output_area.append_execute_result(NB_LOAD_WARNING)\n }\n }\n\n if (root._bokeh_is_loading === 0) {\n console.debug(\"Bokeh: BokehJS loaded, going straight to plotting\");\n run_inline_js();\n } else {\n load_libs(css_urls, js_urls, function() {\n console.debug(\"Bokeh: BokehJS plotting callback run at\", now());\n run_inline_js();\n });\n }\n}(window));", "application/vnd.bokehjs_load.v0+json": "" }, "metadata": {}, "output_type": "display_data" }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "deprec_df value asset_name BEA_code \\\n", - "0 {'life': 5.0, 'method': 'DB 200%'} Mainframes EP1A \n", - "1 {'life': 5.0, 'method': 'DB 200%'} PCs EP1B \n", - "2 {'life': 5.0, 'method': 'DB 200%'} DASDs EP1C \n", - "3 {'life': 5.0, 'method': 'DB 200%'} Printers EP1D \n", - "4 {'life': 5.0, 'method': 'DB 200%'} Terminals EP1E \n", - "\n", - " minor_asset_group major_asset_group ADS_life GDS_life system year \n", - "0 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "1 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "2 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "3 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "4 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "deprec_df 2 asset_name BEA_code minor_asset_group major_asset_group ADS_life \\\n", - "0 Mainframes EP1A Computers and Software Equipment 5.0 \n", - "1 PCs EP1B Computers and Software Equipment 5.0 \n", - "2 DASDs EP1C Computers and Software Equipment 5.0 \n", - "3 Printers EP1D Computers and Software Equipment 5.0 \n", - "4 Terminals EP1E Computers and Software Equipment 5.0 \n", - "\n", - " GDS_life system year life method \n", - "0 5.0 GDS 2020 5.0 DB 200% \n", - "1 5.0 GDS 2020 5.0 DB 200% \n", - "2 5.0 GDS 2020 5.0 DB 200% \n", - "3 5.0 GDS 2020 5.0 DB 200% \n", - "4 5.0 GDS 2020 5.0 DB 200% \n", - "deprec_df value asset_name BEA_code \\\n", - "0 {'life': 5.0, 'method': 'DB 200%'} Mainframes EP1A \n", - "1 {'life': 5.0, 'method': 'DB 200%'} PCs EP1B \n", - "2 {'life': 5.0, 'method': 'DB 200%'} DASDs EP1C \n", - "3 {'life': 5.0, 'method': 'DB 200%'} Printers EP1D \n", - "4 {'life': 5.0, 'method': 'DB 200%'} Terminals EP1E \n", - "\n", - " minor_asset_group major_asset_group ADS_life GDS_life system year \n", - "0 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "1 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "2 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "3 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "4 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "deprec_df 2 asset_name BEA_code minor_asset_group major_asset_group ADS_life \\\n", - "0 Mainframes EP1A Computers and Software Equipment 5.0 \n", - "1 PCs EP1B Computers and Software Equipment 5.0 \n", - "2 DASDs EP1C Computers and Software Equipment 5.0 \n", - "3 Printers EP1D Computers and Software Equipment 5.0 \n", - "4 Terminals EP1E Computers and Software Equipment 5.0 \n", - "\n", - " GDS_life system year life method \n", - "0 5.0 GDS 2020 5.0 DB 200% \n", - "1 5.0 GDS 2020 5.0 DB 200% \n", - "2 5.0 GDS 2020 5.0 DB 200% \n", - "3 5.0 GDS 2020 5.0 DB 200% \n", - "4 5.0 GDS 2020 5.0 DB 200% \n" - ] - }, { "data": { "text/html": [ "\n", - "
\n" + "
\n" ] }, "metadata": {}, @@ -2154,12 +1807,12 @@ }, { "data": { - "application/javascript": "(function(root) {\n function embed_document(root) {\n const docs_json = {\"cb5182ef-49d5-4951-87af-1a1629ea3309\":{\"version\":\"3.2.2\",\"title\":\"Bokeh Application\",\"roots\":[{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1223\",\"attributes\":{\"width\":500,\"height\":500,\"x_range\":{\"type\":\"object\",\"name\":\"Range1d\",\"id\":\"p1232\",\"attributes\":{\"start\":-0.5,\"end\":2.5}},\"y_range\":{\"type\":\"object\",\"name\":\"DataRange1d\",\"id\":\"p1225\"},\"x_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1233\"},\"y_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1234\"},\"title\":{\"type\":\"object\",\"name\":\"Title\",\"id\":\"p1230\",\"attributes\":{\"text_font\":\"Helvetica\"}},\"renderers\":[{\"type\":\"object\",\"name\":\"Span\",\"id\":\"p1248\",\"attributes\":{\"location\":0,\"line_alpha\":0.2,\"line_width\":2,\"line_dash\":[6]}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1258\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1217\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1218\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1219\"},\"data\":{\"type\":\"map\",\"entries\":[[\"mins\",[0.01961380518731942,0.09535622518117375,0.0]],[\"maxes\",[0.25284934394230096,0.32317512117434327,0.23414672509906992]],[\"means\",[0.1900744063434108,0.25389257896198214,0.17366140080813267]],[\"min_asset\",[\"Intellectual Property\",\"Equipment\",\"Intellectual Property\"]],[\"max_asset\",[\"Inventories\",\"Inventories\",\"Inventories\"]],[\"mean_asset\",[\"Overall\",\"Overall\",\"Overall\"]],[\"types\",[\"Typically Financed\",\"Debt Financed\",\"Equity Financed\"]],[\"positions\",[-0.1,0.9,1.9]]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1259\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1260\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1255\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1256\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1257\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"line_width\":{\"type\":\"value\",\"value\":2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1267\",\"attributes\":{\"data_source\":{\"id\":\"p1217\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1268\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1269\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1264\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1265\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1266\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1278\",\"attributes\":{\"data_source\":{\"id\":\"p1217\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1279\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1280\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1275\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1276\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1277\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1287\",\"attributes\":{\"data_source\":{\"id\":\"p1217\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1288\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1289\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1284\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1285\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1286\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1296\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1220\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1221\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1222\"},\"data\":{\"type\":\"map\",\"entries\":[[\"mins\",[0.06965591540885105,0.1073340807100192,0.06060027444109623]],[\"maxes\",[0.294710491330277,0.3395042664417007,0.28340964701450294]],[\"means\",[0.23670677626297182,0.2689805545280029,0.22916817814726334]],[\"min_asset\",[\"Intellectual Property\",\"Intellectual Property\",\"Intellectual Property\"]],[\"max_asset\",[\"Inventories\",\"Inventories\",\"Inventories\"]],[\"mean_asset\",[\"Overall\",\"Overall\",\"Overall\"]],[\"types\",[\"Typically Financed\",\"Debt Financed\",\"Equity Financed\"]],[\"positions\",[0.1,1.1,2.1]]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1297\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1298\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1293\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1294\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1295\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"line_width\":{\"type\":\"value\",\"value\":2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1305\",\"attributes\":{\"data_source\":{\"id\":\"p1220\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1306\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1307\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1302\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1303\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1304\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1315\",\"attributes\":{\"data_source\":{\"id\":\"p1220\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1316\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1317\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1312\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1313\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1314\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1324\",\"attributes\":{\"data_source\":{\"id\":\"p1220\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1325\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1326\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1321\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1322\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1323\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}}],\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1231\"},\"toolbar_location\":null,\"left\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1240\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1241\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"NumeralTickFormatter\",\"id\":\"p1247\",\"attributes\":{\"format\":\"0%\"}},\"axis_label\":\"Marginal Effective Total Tax Rate\",\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1243\"}}}],\"below\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1235\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"FixedTicker\",\"id\":\"p1245\",\"attributes\":{\"ticks\":[0,1,2],\"minor_ticks\":[]}},\"formatter\":{\"type\":\"object\",\"name\":\"CustomJSTickFormatter\",\"id\":\"p1246\",\"attributes\":{\"code\":\"\\n var types = [\\\"Typically Financed\\\", \\\"Debt Financed\\\", \\\"Equity Financed\\\"]\\n return types[tick]\\n \"}},\"axis_label\":\"Method of Financing\",\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1238\"}}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1239\",\"attributes\":{\"axis\":{\"id\":\"p1235\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1244\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1240\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1249\",\"attributes\":{\"right\":0.5,\"fill_color\":\"white\",\"fill_alpha\":0.2}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1250\",\"attributes\":{\"left\":0.5,\"right\":1.5,\"fill_color\":\"white\",\"fill_alpha\":0.1}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1251\",\"attributes\":{\"left\":1.5,\"fill_color\":\"white\",\"fill_alpha\":0.2}},{\"type\":\"object\",\"name\":\"Legend\",\"id\":\"p1270\",\"attributes\":{\"location\":\"bottom_right\",\"items\":[{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1271\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Baseline\"},\"renderers\":[{\"id\":\"p1267\"},{\"id\":\"p1278\"},{\"id\":\"p1287\"}]}},{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1308\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Reform\"},\"renderers\":[{\"id\":\"p1305\"},{\"id\":\"p1315\"},{\"id\":\"p1324\"}]}}]}}]}}]}};\n const render_items = [{\"docid\":\"cb5182ef-49d5-4951-87af-1a1629ea3309\",\"roots\":{\"p1223\":\"d19340c3-3633-4540-9c9f-83a7b642f75f\"},\"root_ids\":[\"p1223\"]}];\n root.Bokeh.embed.embed_items_notebook(docs_json, render_items);\n }\n if (root.Bokeh !== undefined) {\n embed_document(root);\n } else {\n let attempts = 0;\n const timer = setInterval(function(root) {\n if (root.Bokeh !== undefined) {\n clearInterval(timer);\n embed_document(root);\n } else {\n attempts++;\n if (attempts > 100) {\n clearInterval(timer);\n console.log(\"Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing\");\n }\n }\n }, 10, root)\n }\n})(window);", + "application/javascript": "(function(root) {\n function embed_document(root) {\n const docs_json = {\"890781f8-9437-4768-9100-33ccb9679938\":{\"version\":\"3.3.4\",\"title\":\"Bokeh Application\",\"roots\":[{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1235\",\"attributes\":{\"width\":500,\"height\":500,\"x_range\":{\"type\":\"object\",\"name\":\"Range1d\",\"id\":\"p1244\",\"attributes\":{\"start\":-0.5,\"end\":2.5}},\"y_range\":{\"type\":\"object\",\"name\":\"DataRange1d\",\"id\":\"p1237\"},\"x_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1245\"},\"y_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1246\"},\"title\":{\"type\":\"object\",\"name\":\"Title\",\"id\":\"p1242\",\"attributes\":{\"text_font\":\"Helvetica\"}},\"renderers\":[{\"type\":\"object\",\"name\":\"Span\",\"id\":\"p1260\",\"attributes\":{\"location\":0,\"line_alpha\":0.2,\"line_width\":2,\"line_dash\":[6]}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1282\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1229\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1230\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1231\"},\"data\":{\"type\":\"map\",\"entries\":[[\"mins\",[0.02192332473681064,-0.0804559380783651,0.04394286898872446]],[\"maxes\",[0.33053518952029604,0.28760296539721236,0.3399853716935038]],[\"means\",[0.25445117961322183,0.177262406722624,0.27142494713284715]],[\"min_asset\",[\"Intellectual Property\",\"Intellectual Property\",\"Intellectual Property\"]],[\"max_asset\",[\"Inventories\",\"Inventories\",\"Inventories\"]],[\"mean_asset\",[\"Overall\",\"Overall\",\"Overall\"]],[\"types\",[\"Typically Financed\",\"Debt Financed\",\"Equity Financed\"]],[\"positions\",[-0.1,0.9,1.9]]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1283\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1284\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1279\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1280\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1281\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"line_width\":{\"type\":\"value\",\"value\":2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1291\",\"attributes\":{\"data_source\":{\"id\":\"p1229\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1292\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1293\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1288\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1289\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1290\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1302\",\"attributes\":{\"data_source\":{\"id\":\"p1229\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1303\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1304\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1299\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1300\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1301\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1311\",\"attributes\":{\"data_source\":{\"id\":\"p1229\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1312\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1313\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1308\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1309\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1310\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1320\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1232\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1233\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1234\"},\"data\":{\"type\":\"map\",\"entries\":[[\"mins\",[0.07279186317894742,-0.08923854283373718,0.10392416375795019]],[\"maxes\",[0.37914494588374087,0.30560691623389735,0.39371595255749636]],[\"means\",[0.3043423624032357,0.1802490785587148,0.3285685115496356]],[\"min_asset\",[\"Intellectual Property\",\"Intellectual Property\",\"Intellectual Property\"]],[\"max_asset\",[\"Inventories\",\"Inventories\",\"Inventories\"]],[\"mean_asset\",[\"Overall\",\"Overall\",\"Overall\"]],[\"types\",[\"Typically Financed\",\"Debt Financed\",\"Equity Financed\"]],[\"positions\",[0.1,1.1,2.1]]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1321\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1322\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1317\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1318\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"line_width\":{\"type\":\"value\",\"value\":2}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Segment\",\"id\":\"p1319\",\"attributes\":{\"x0\":{\"type\":\"field\",\"field\":\"positions\"},\"y0\":{\"type\":\"field\",\"field\":\"mins\"},\"x1\":{\"type\":\"field\",\"field\":\"positions\"},\"y1\":{\"type\":\"field\",\"field\":\"maxes\"},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"line_width\":{\"type\":\"value\",\"value\":2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1329\",\"attributes\":{\"data_source\":{\"id\":\"p1232\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1330\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1331\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1326\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1327\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1328\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"means\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1339\",\"attributes\":{\"data_source\":{\"id\":\"p1232\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1340\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1341\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1336\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1337\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1338\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"mins\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}},{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1348\",\"attributes\":{\"data_source\":{\"id\":\"p1232\"},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1349\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1350\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1345\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1346\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1347\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"positions\"},\"y\":{\"type\":\"field\",\"field\":\"maxes\"},\"size\":{\"type\":\"value\",\"value\":12},\"line_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}}],\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1243\"},\"toolbar_location\":null,\"left\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1252\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1253\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"NumeralTickFormatter\",\"id\":\"p1259\",\"attributes\":{\"format\":\"0%\"}},\"axis_label\":\"Marginal Effective Total Tax Rate\",\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1255\"}}}],\"below\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1247\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"FixedTicker\",\"id\":\"p1257\",\"attributes\":{\"ticks\":[0,1,2],\"minor_ticks\":[]}},\"formatter\":{\"type\":\"object\",\"name\":\"CustomJSTickFormatter\",\"id\":\"p1258\",\"attributes\":{\"code\":\"\\n var types = [\\\"Typically Financed\\\", \\\"Debt Financed\\\", \\\"Equity Financed\\\"]\\n return types[tick]\\n \"}},\"axis_label\":\"Method of Financing\",\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1250\"}}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1251\",\"attributes\":{\"axis\":{\"id\":\"p1247\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1256\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1252\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1261\",\"attributes\":{\"left\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1263\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"left\"}},\"right\":0.5,\"top\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1264\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"top\"}},\"bottom\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1265\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"bottom\"}},\"fill_color\":\"white\",\"fill_alpha\":0.2}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1266\",\"attributes\":{\"left\":0.5,\"right\":1.5,\"top\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1269\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"top\"}},\"bottom\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1270\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"bottom\"}},\"fill_color\":\"white\",\"fill_alpha\":0.1}},{\"type\":\"object\",\"name\":\"BoxAnnotation\",\"id\":\"p1271\",\"attributes\":{\"left\":1.5,\"right\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1273\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"right\"}},\"top\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1274\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"top\"}},\"bottom\":{\"type\":\"object\",\"name\":\"Node\",\"id\":\"p1275\",\"attributes\":{\"target\":\"frame\",\"symbol\":\"bottom\"}},\"fill_color\":\"white\",\"fill_alpha\":0.2}},{\"type\":\"object\",\"name\":\"Legend\",\"id\":\"p1294\",\"attributes\":{\"location\":\"bottom_right\",\"items\":[{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1295\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Baseline\"},\"renderers\":[{\"id\":\"p1291\"},{\"id\":\"p1302\"},{\"id\":\"p1311\"}]}},{\"type\":\"object\",\"name\":\"LegendItem\",\"id\":\"p1332\",\"attributes\":{\"label\":{\"type\":\"value\",\"value\":\"Reform\"},\"renderers\":[{\"id\":\"p1329\"},{\"id\":\"p1339\"},{\"id\":\"p1348\"}]}}]}}]}}]}};\n const render_items = [{\"docid\":\"890781f8-9437-4768-9100-33ccb9679938\",\"roots\":{\"p1235\":\"eb2f721e-04f9-4834-b54e-8d8c997fc061\"},\"root_ids\":[\"p1235\"]}];\n root.Bokeh.embed.embed_items_notebook(docs_json, render_items);\n }\n if (root.Bokeh !== undefined) {\n embed_document(root);\n } else {\n let attempts = 0;\n const timer = setInterval(function(root) {\n if (root.Bokeh !== undefined) {\n clearInterval(timer);\n embed_document(root);\n } else {\n attempts++;\n if (attempts > 100) {\n clearInterval(timer);\n console.log(\"Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing\");\n }\n }\n }, 10, root)\n }\n})(window);", "application/vnd.bokehjs_exec.v0+json": "" }, "metadata": { "application/vnd.bokehjs_exec.v0+json": { - "id": "p1223" + "id": "p1235" } }, "output_type": "display_data" @@ -2181,54 +1834,22 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 19, "metadata": {}, "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "deprec_df value asset_name BEA_code \\\n", - "0 {'life': 5.0, 'method': 'DB 200%'} Mainframes EP1A \n", - "1 {'life': 5.0, 'method': 'DB 200%'} PCs EP1B \n", - "2 {'life': 5.0, 'method': 'DB 200%'} DASDs EP1C \n", - "3 {'life': 5.0, 'method': 'DB 200%'} Printers EP1D \n", - "4 {'life': 5.0, 'method': 'DB 200%'} Terminals EP1E \n", - "\n", - " minor_asset_group major_asset_group ADS_life GDS_life system year \n", - "0 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "1 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "2 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "3 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "4 Computers and Software Equipment 5.0 5.0 GDS 2020 \n", - "deprec_df 2 asset_name BEA_code minor_asset_group major_asset_group ADS_life \\\n", - "0 Mainframes EP1A Computers and Software Equipment 5.0 \n", - "1 PCs EP1B Computers and Software Equipment 5.0 \n", - "2 DASDs EP1C Computers and Software Equipment 5.0 \n", - "3 Printers EP1D Computers and Software Equipment 5.0 \n", - "4 Terminals EP1E Computers and Software Equipment 5.0 \n", - "\n", - " GDS_life system year life method \n", - "0 5.0 GDS 2020 5.0 DB 200% \n", - "1 5.0 GDS 2020 5.0 DB 200% \n", - "2 5.0 GDS 2020 5.0 DB 200% \n", - "3 5.0 GDS 2020 5.0 DB 200% \n", - "4 5.0 GDS 2020 5.0 DB 200% \n" - ] - }, { "name": "stderr", "output_type": "stream", "text": [ - "WARNING:bokeh.core.validation.check:W-1000 (MISSING_RENDERERS): Plot has no renderers: figure(id='p1434', ...)\n", - "WARNING:bokeh.core.validation.check:W-1000 (MISSING_RENDERERS): Plot has no renderers: figure(id='p1373', ...)\n" + "WARNING:bokeh.core.validation.check:W-1000 (MISSING_RENDERERS): Plot has no renderers: figure(id='p1397', ...)\n", + "WARNING:bokeh.core.validation.check:W-1000 (MISSING_RENDERERS): Plot has no renderers: figure(id='p1458', ...)\n" ] }, { "data": { "text/html": [ "\n", - "
\n" + "
\n" ] }, "metadata": {}, @@ -2236,12 +1857,12 @@ }, { "data": { - "application/javascript": "(function(root) {\n function embed_document(root) {\n const docs_json = {\"80224bc2-2aea-4e79-9ed8-1099e2f59515\":{\"version\":\"3.2.2\",\"title\":\"Bokeh Application\",\"roots\":[{\"type\":\"object\",\"name\":\"Tabs\",\"id\":\"p1461\",\"attributes\":{\"tabs\":[{\"type\":\"object\",\"name\":\"TabPanel\",\"id\":\"p1458\",\"attributes\":{\"title\":\"Equipment\",\"child\":{\"type\":\"object\",\"name\":\"Column\",\"id\":\"p1457\",\"attributes\":{\"children\":[{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1333\",\"attributes\":{\"width\":990,\"height\":540,\"x_range\":{\"type\":\"object\",\"name\":\"Range1d\",\"id\":\"p1342\",\"attributes\":{\"start\":-0.05,\"end\":0.51}},\"y_range\":{\"type\":\"object\",\"name\":\"FactorRange\",\"id\":\"p1343\",\"attributes\":{\"factors\":[\"Other\",\"Other Industrial\",\"Industrial Machinery\",\"Transportation\",\"Office and Residential\",\"Instruments and Communications\",\"Computers and Software\"]}},\"x_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1344\"},\"y_scale\":{\"type\":\"object\",\"name\":\"CategoricalScale\",\"id\":\"p1345\"},\"title\":{\"type\":\"object\",\"name\":\"Title\",\"id\":\"p1340\"},\"outline_line_color\":\"black\",\"outline_line_width\":1,\"renderers\":[{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1367\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1358\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1359\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1360\"},\"data\":{\"type\":\"map\",\"entries\":[[\"index\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"AAAAAAEAAAACAAAAAwAAAAQAAAAFAAAABgAAAAcAAAAIAAAACQAAAAoAAAALAAAADAAAAA0AAAAOAAAADwAAABAAAAARAAAAEgAAABMAAAAUAAAAFQAAABYAAAAXAAAAGAAAABkAAAAaAAAAGwAAABwAAAAdAAAAHgAAAB8AAAAgAAAAIQAAACIAAAAjAAAAJAAAACUAAAAmAAAAJwAAACgAAADGAAAAxwAAAMgAAADOAAAAzwAAANAAAADTAAAA\"},\"shape\":[48],\"dtype\":\"int32\",\"order\":\"little\"}],[\"baseline\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"EHXT6LtGsT+7dNPou0axP8V00+i7RrE/u3TT6LtGsT+ydNPou0axP6l00+i7RrE/u3TT6LtGsT+ydNPou0axP6l00+i7RrE/u3TT6LtGsT/hdNPou0axP7t00+i7RrE/qXTT6LtGsT/XdNPou0axP+F00+i7RrE/4XTT6LtGsT/OdNPou0axP9d00+i7RrE/znTT6LtGsT/FdNPou0axP8V00+i7RrE/4XTT6LtGsT/OdNPou0axP9d00+i7RrE/BnXT6LtGsT/hdNPou0axP+F00+i7RrE/xXTT6LtGsT/OdNPou0axP+F00+i7RrE/13TT6LtGsT/qdNPou0axP8500+i7RrE/6nTT6LtGsT/hdNPou0axP9d00+i7RrE/znTT6LtGsT+7dNPou0axP9d00+i7RrE/6nTT6LtGsT/XdNPou0axP8V00+i7RrE/xXTT6LtGsT/XdNPou0axP8V00+i7RrE/4XTT6LtGsT/XdNPou0axP9d00+i7RrE/\"},\"shape\":[48],\"dtype\":\"float64\",\"order\":\"little\"}],[\"size\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"IwAAADIAAAAUAAAAIwAAABQAAAAUAAAAFAAAABQAAAAUAAAAIwAAADIAAABBAAAAFAAAAEEAAAAUAAAAMgAAACMAAAAjAAAAFAAAADIAAAAUAAAAIwAAABQAAAAyAAAAFAAAACMAAAAyAAAAQQAAABQAAAAUAAAAIwAAADIAAAAjAAAAIwAAABQAAAAyAAAAIwAAADIAAAAyAAAAIwAAACMAAABBAAAAQQAAAEEAAAAyAAAAMgAAAEEAAABBAAAA\"},\"shape\":[48],\"dtype\":\"int32\",\"order\":\"little\"}],[\"hover\",{\"type\":\"ndarray\",\"array\":[\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\"],\"shape\":[48],\"dtype\":\"object\",\"order\":\"little\"}],[\"assets\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"guiTRJDTMELUVaUIN/ZGQh+VzBinNxBCqeCRDsHvKEIAAAAAAAAAAFNzOHSIPwFCsBvVAVkXB0IAAAAAAAAAADUokQduzP1BeWM0iaxdGkIJ/Fm/uylQQqBKFSw0u1tCugfwReMT+0EDAkHtxwFdQiG4dVx1TRdCKpXJY/oEP0K8yX5/UXkxQqw/XGX+OjlCI5M5K0SUAEIHwQQ+J3hHQgIRiof0juRB9Dhz5OZvN0Jh54bUKFUPQnIrSU8wkElC4ljVPToM+EF4baBsU147Qvrg35pve0lCuZZFXPKlWELZEUQaZeAWQg5fNzePbgJC/EhZQAzFJULNGx/XE8Y8QpXTvLf6wTNCZi6+73dWNULjDFXOJQcHQrt8k/J2g0NCIy4brJ/VO0J1opjchrg/QoQzxAY9905CcwcfBRFDLUJ6zQEMnmM5QsKhOLU1MVdCVaO39XfyZUKkoiSxoKhoQn2C1lKn00hCMZtlJ7ueU0KCjHryx7tuQkmqbzYCGGxC\"},\"shape\":[48],\"dtype\":\"float64\",\"order\":\"little\"}],[\"short_category\",{\"type\":\"ndarray\",\"array\":[\"Computers and Software\",\"Computers and Software\",\"Computers and Software\",\"Computers and Software\",\"Computers and Software\",\"Computers and Software\",\"Computers and Software\",\"Computers and Software\",\"Computers and Software\",\"Computers and Software\",\"Industrial Machinery\",\"Industrial Machinery\",\"Instruments and Communications\",\"Instruments and Communications\",\"Instruments and Communications\",\"Instruments and Communications\",\"Instruments and Communications\",\"Instruments and Communications\",\"Office and Residential\",\"Office and Residential\",\"Office and Residential\",\"Other\",\"Other\",\"Other\",\"Other Industrial\",\"Other Industrial\",\"Other Industrial\",\"Other Industrial\",\"Other Industrial\",\"Other Industrial\",\"Other Industrial\",\"Other Industrial\",\"Other Industrial\",\"Transportation\",\"Transportation\",\"Transportation\",\"Transportation\",\"Transportation\",\"Transportation\",\"Transportation\",\"Transportation\",\"Computers and Software\",\"Industrial Machinery\",\"Instruments and Communications\",\"Office and Residential\",\"Other\",\"Other Industrial\",\"Transportation\"],\"shape\":[48],\"dtype\":\"object\",\"order\":\"little\"}],[\"asset_name\",{\"type\":\"ndarray\",\"array\":[\"Prepackaged software\",\"Custom software\",\"Mainframes\",\"PCs\",\"DASDs\",\"Printers\",\"Terminals\",\"Tape drives\",\"Storage devices\",\"System integrators\",\"Special industrial machinery\",\"General industrial equipment\",\"Office and accounting equipment\",\"Communications\",\"Photocopy and related equipment\",\"Nonelectro medical instruments\",\"Electro medical instruments\",\"Nonmedical instruments\",\"Household furniture\",\"Other furniture\",\"Household appliances\",\"Service industry machinery\",\"Other electrical\",\"Other\",\"Nuclear fuel\",\"Other fabricated metals\",\"Metalworking machinery\",\"Electric transmission and distribution\",\"Farm tractors\",\"Construction tractors\",\"Other agricultural machinery\",\"Other construction machinery\",\"Mining and oilfield machinery\",\"Steam engines\",\"Internal combustion engines\",\"Light trucks (including utility vehicles)\",\"Other trucks, buses and truck trailers\",\"Autos\",\"Aircraft\",\"Ships and boats\",\"Railroad equipment\",\"Computers and Software\",\"Industrial Machinery\",\"Instruments and Communications Equipment\",\"Office and Residential Equipment\",\"Other Equipment\",\"Other Industrial Equipment\",\"Transportation Equipment\"],\"shape\":[48],\"dtype\":\"object\",\"order\":\"little\"}]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1368\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1369\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1364\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"baseline\"},\"y\":{\"type\":\"field\",\"field\":\"short_category\"},\"size\":{\"type\":\"field\",\"field\":\"size\"},\"line_color\":{\"type\":\"value\",\"value\":\"#333333\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.4},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.4}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1365\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"baseline\"},\"y\":{\"type\":\"field\",\"field\":\"short_category\"},\"size\":{\"type\":\"field\",\"field\":\"size\"},\"line_color\":{\"type\":\"value\",\"value\":\"#333333\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1366\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"baseline\"},\"y\":{\"type\":\"field\",\"field\":\"short_category\"},\"size\":{\"type\":\"field\",\"field\":\"size\"},\"line_color\":{\"type\":\"value\",\"value\":\"#333333\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}}],\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1341\",\"attributes\":{\"tools\":[{\"type\":\"object\",\"name\":\"HoverTool\",\"id\":\"p1356\",\"attributes\":{\"renderers\":\"auto\",\"tooltips\":[[\"Asset\",\" @asset_name (@hover)\"]]}}]}},\"toolbar_location\":null,\"left\":[{\"type\":\"object\",\"name\":\"CategoricalAxis\",\"id\":\"p1351\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"CategoricalTicker\",\"id\":\"p1352\"},\"formatter\":{\"type\":\"object\",\"name\":\"CategoricalTickFormatter\",\"id\":\"p1353\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1354\"}}}],\"below\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1346\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1347\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"NumeralTickFormatter\",\"id\":\"p1357\",\"attributes\":{\"format\":\"0.1%\"}},\"axis_label\":\"Marginal Effective Tax Rate\",\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1349\"},\"major_tick_line_color\":\"firebrick\",\"major_tick_line_width\":3,\"minor_tick_line_color\":\"orange\"}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1350\",\"attributes\":{\"axis\":{\"id\":\"p1346\"}}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1355\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1351\"}}}],\"background_fill_alpha\":0,\"border_fill_alpha\":0,\"min_border_top\":5,\"min_border_bottom\":0,\"min_border_left\":0,\"min_border_right\":5}},{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1373\",\"attributes\":{\"width\":380,\"height\":150,\"x_range\":{\"type\":\"object\",\"name\":\"Range1d\",\"id\":\"p1383\",\"attributes\":{\"start\":-0.075,\"end\":75}},\"y_range\":{\"type\":\"object\",\"name\":\"DataRange1d\",\"id\":\"p1375\"},\"x_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1384\"},\"y_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1385\"},\"title\":{\"type\":\"object\",\"name\":\"Title\",\"id\":\"p1376\",\"attributes\":{\"text\":\"Asset Amount\"}},\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1382\",\"attributes\":{\"active_drag\":null}},\"left\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1391\",\"attributes\":{\"visible\":false,\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1392\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"BasicTickFormatter\",\"id\":\"p1393\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1394\"}}}],\"below\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1386\",\"attributes\":{\"visible\":false,\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1387\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"BasicTickFormatter\",\"id\":\"p1388\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1389\"}}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1390\",\"attributes\":{\"axis\":{\"id\":\"p1386\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1395\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1391\"},\"grid_line_color\":null}}]}}]}}}},{\"type\":\"object\",\"name\":\"TabPanel\",\"id\":\"p1460\",\"attributes\":{\"title\":\"Structures\",\"child\":{\"type\":\"object\",\"name\":\"Column\",\"id\":\"p1459\",\"attributes\":{\"children\":[{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1396\",\"attributes\":{\"width\":990,\"height\":540,\"x_range\":{\"type\":\"object\",\"name\":\"Range1d\",\"id\":\"p1405\",\"attributes\":{\"start\":-0.05,\"end\":0.51}},\"y_range\":{\"type\":\"object\",\"name\":\"FactorRange\",\"id\":\"p1406\",\"attributes\":{\"factors\":[\"Other\",\"Mining and Drilling\",\"Nonresidential Bldgs\",\"Residential Bldgs\"]}},\"x_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1407\"},\"y_scale\":{\"type\":\"object\",\"name\":\"CategoricalScale\",\"id\":\"p1408\"},\"title\":{\"type\":\"object\",\"name\":\"Title\",\"id\":\"p1403\"},\"outline_line_color\":\"black\",\"outline_line_width\":1,\"renderers\":[{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1431\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1422\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1423\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1424\"},\"data\":{\"type\":\"map\",\"entries\":[[\"index\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"QgAAAEMAAABEAAAARQAAAEYAAABHAAAASAAAAEkAAABKAAAASwAAAEwAAABNAAAATgAAAE8AAABQAAAAUQAAAFIAAABTAAAAVAAAAFUAAABWAAAAVwAAAFgAAABZAAAAWgAAAFsAAABcAAAAXQAAAF4AAABfAAAAYAAAAGEAAABiAAAAzAAAAM0AAADRAAAA0gAAAOYAAAA=\"},\"shape\":[38],\"dtype\":\"int32\",\"order\":\"little\"}],[\"baseline\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"13TT6LtGsT/OdNPou0axP9d00+i7RrE/13TT6LtGsT/OdNPou0axP+fhFPjmNc0/JwMdP1Hkzz8kAx0/UeTPPx4DHT9R5M8/c4J8FjUu0T/2RZxYuprQP/ZFnFi6mtA/Ha0mzt9x0D/7B24X9+7QP/sHbhf37tA/+AduF/fu0D9KDPNEfJrRP/ZFnFi6mtA/BA2fU5C80D8BDZ9TkLzQP8V00+i7RrE/9kWcWLqa0D/hdNPou0axP+p00+i7RrE/xXTT6LtGsT/FdNPou0axP9d00+i7RrE/6nTT6LtGsT/XdNPou0axP+F00+i7RrE/4XTT6LtGsT/XdNPou0axPzoRzCBzVMw/4XTT6LtGsT8XCmvq8dPQPwABULYJlbE/OhHMIHNUzD/NcB+Rlo7HPw==\"},\"shape\":[38],\"dtype\":\"float64\",\"order\":\"little\"}],[\"size\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"QQAAACMAAABBAAAAQQAAACMAAAAjAAAAMgAAADIAAAAjAAAAMgAAABQAAAAUAAAAMgAAAEEAAABBAAAAMgAAAEEAAAAUAAAAQQAAACMAAAAyAAAAFAAAABQAAAAjAAAAIwAAACMAAAAUAAAAFAAAADIAAAAyAAAAQQAAACMAAAAyAAAAQQAAAEEAAABBAAAAMgAAAEEAAAA=\"},\"shape\":[38],\"dtype\":\"int32\",\"order\":\"little\"}],[\"hover\",{\"type\":\"ndarray\",\"array\":[\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"22.8%\",\"24.9%\",\"24.9%\",\"24.9%\",\"26.8%\",\"25.9%\",\"25.9%\",\"25.7%\",\"26.5%\",\"26.5%\",\"26.5%\",\"27.5%\",\"25.9%\",\"26.2%\",\"26.2%\",\"6.7%\",\"25.9%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"6.7%\",\"22.1%\",\"6.7%\",\"26.3%\",\"6.9%\",\"22.1%\",\"18.4%\"],\"shape\":[38],\"dtype\":\"object\",\"order\":\"little\"}],[\"assets\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"CutnFoQQbkIn2/YTB08zQmsOf4v/12BCfauIB/JGVUICaE2K2zg6Qk6mU7+xazdCQFAJgQd1UELL3wr5NbZSQuSjwho4UzBCbQ/IMFIAREI5PljRFdgYQr7TSpuZbOpBQLCdyW9hUEIrC9WI/fVTQm1dNBnYtFhCHnzs81WwREK1mcrM+/VvQv0QKJNU2QxCXSWGDU5gcEJ2TVJnIE45QiF+yETx/kJCtoo7oTY8AUJRGk1QREH6QY43N1HrfzlClBEs+aI5I0LOPwst3IghQlFkGCc/VBVCBWWY6mqK8UE2nye97J4/Qr7Hx03mYENCXZBtIAehbkJKsbxg2MY7QgCAUcSobVNCzOu5fHyef0J4LdDolo6QQh0CxpuCNHtCAIBRxKhtU0J4oJqdGD2gQg==\"},\"shape\":[38],\"dtype\":\"float64\",\"order\":\"little\"}],[\"short_category\",{\"type\":\"ndarray\",\"array\":[\"Mining and Drilling\",\"Mining and Drilling\",\"Mining and Drilling\",\"Mining and Drilling\",\"Mining and Drilling\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Other\",\"Other\",\"Other\",\"Other\",\"Other\",\"Other\",\"Other\",\"Other\",\"Other\",\"Other\",\"Other\",\"Other\",\" Residential Bldgs\",\"Mining and Drilling\",\"Nonresidential Bldgs\",\"Other\",\" Residential Bldgs\",\"Structures\"],\"shape\":[38],\"dtype\":\"object\",\"order\":\"little\"}],[\"asset_name\",{\"type\":\"ndarray\",\"array\":[\"Petroleum and natural gas\",\"Mining\",\"Communication\",\"Gas\",\"Petroleum pipelines\",\"Religious\",\"Educational and vocational\",\"Hospitals\",\"Special care\",\"Lodging\",\"Air transportation\",\"Other transportation\",\"Warehouses\",\"Other commercial\",\"Multimerchandise shopping\",\"Food and beverage establishments\",\"Manufacturing\",\"Public safety\",\"Office\",\"Medical buildings\",\"Amusement and recreation\",\"Local transit structures\",\"Other land transportation\",\"Farm\",\"Water supply\",\"Sewage and waste disposal\",\"Highway and conservation and development\",\"Mobile structures\",\"Other railroad\",\"Track replacement\",\"Electric\",\"Wind and solar\",\"Residential\",\"Mining and Drilling Structures\",\"Nonresidential Buildings\",\"Other Structures\",\"Residential Buildings\",\"Structures\"],\"shape\":[38],\"dtype\":\"object\",\"order\":\"little\"}]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1432\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1433\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1428\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"baseline\"},\"y\":{\"type\":\"field\",\"field\":\"short_category\"},\"size\":{\"type\":\"field\",\"field\":\"size\"},\"line_color\":{\"type\":\"value\",\"value\":\"#333333\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.4},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.4},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.4}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1429\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"baseline\"},\"y\":{\"type\":\"field\",\"field\":\"short_category\"},\"size\":{\"type\":\"field\",\"field\":\"size\"},\"line_color\":{\"type\":\"value\",\"value\":\"#333333\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Circle\",\"id\":\"p1430\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"baseline\"},\"y\":{\"type\":\"field\",\"field\":\"short_category\"},\"size\":{\"type\":\"field\",\"field\":\"size\"},\"line_color\":{\"type\":\"value\",\"value\":\"#333333\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}}],\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1404\",\"attributes\":{\"tools\":[{\"type\":\"object\",\"name\":\"HoverTool\",\"id\":\"p1419\",\"attributes\":{\"renderers\":\"auto\",\"tooltips\":[[\"Asset\",\" @asset_name (@hover)\"]]}}]}},\"toolbar_location\":null,\"left\":[{\"type\":\"object\",\"name\":\"CategoricalAxis\",\"id\":\"p1414\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"CategoricalTicker\",\"id\":\"p1415\"},\"formatter\":{\"type\":\"object\",\"name\":\"CategoricalTickFormatter\",\"id\":\"p1416\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1417\"}}}],\"above\":[{\"type\":\"object\",\"name\":\"Title\",\"id\":\"p1420\",\"attributes\":{\"text\":\"Marginal Effective Tax Rates on Corporate Investments in Structures\",\"text_color\":\"#6B6B73\",\"text_font\":\"Helvetica\",\"text_font_size\":\"9pt\",\"align\":\"center\"}}],\"below\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1409\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1410\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"NumeralTickFormatter\",\"id\":\"p1421\",\"attributes\":{\"format\":\"0.1%\"}},\"axis_label\":\"Marginal Effective Tax Rate\",\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1412\"},\"major_tick_line_color\":\"firebrick\",\"major_tick_line_width\":3,\"minor_tick_line_color\":\"orange\"}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1413\",\"attributes\":{\"axis\":{\"id\":\"p1409\"}}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1418\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1414\"}}}],\"background_fill_alpha\":0,\"border_fill_alpha\":0,\"min_border_top\":5,\"min_border_bottom\":0,\"min_border_left\":0,\"min_border_right\":5}},{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1434\",\"attributes\":{\"width\":380,\"height\":150,\"x_range\":{\"type\":\"object\",\"name\":\"Range1d\",\"id\":\"p1444\",\"attributes\":{\"start\":-0.075,\"end\":0.75}},\"y_range\":{\"type\":\"object\",\"name\":\"DataRange1d\",\"id\":\"p1436\"},\"x_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1445\"},\"y_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1446\"},\"title\":{\"type\":\"object\",\"name\":\"Title\",\"id\":\"p1437\",\"attributes\":{\"text\":\"Asset Amount\"}},\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1443\",\"attributes\":{\"active_drag\":null}},\"left\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1452\",\"attributes\":{\"visible\":false,\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1453\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"BasicTickFormatter\",\"id\":\"p1454\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1455\"}}}],\"below\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1447\",\"attributes\":{\"visible\":false,\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1448\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"BasicTickFormatter\",\"id\":\"p1449\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1450\"}}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1451\",\"attributes\":{\"axis\":{\"id\":\"p1447\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1456\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1452\"},\"grid_line_color\":null}}]}}]}}}}]}}]}};\n const render_items = [{\"docid\":\"80224bc2-2aea-4e79-9ed8-1099e2f59515\",\"roots\":{\"p1461\":\"cc1b9947-210f-40bf-8acd-59296187df05\"},\"root_ids\":[\"p1461\"]}];\n root.Bokeh.embed.embed_items_notebook(docs_json, render_items);\n }\n if (root.Bokeh !== undefined) {\n embed_document(root);\n } else {\n let attempts = 0;\n const timer = setInterval(function(root) {\n if (root.Bokeh !== undefined) {\n clearInterval(timer);\n embed_document(root);\n } else {\n attempts++;\n if (attempts > 100) {\n clearInterval(timer);\n console.log(\"Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing\");\n }\n }\n }, 10, root)\n }\n})(window);", + "application/javascript": "(function(root) {\n function embed_document(root) {\n const docs_json = {\"87e5985c-dc90-45b8-9325-0ed744f3e6ce\":{\"version\":\"3.3.4\",\"title\":\"Bokeh Application\",\"roots\":[{\"type\":\"object\",\"name\":\"Tabs\",\"id\":\"p1485\",\"attributes\":{\"tabs\":[{\"type\":\"object\",\"name\":\"TabPanel\",\"id\":\"p1482\",\"attributes\":{\"title\":\"Equipment\",\"child\":{\"type\":\"object\",\"name\":\"Column\",\"id\":\"p1481\",\"attributes\":{\"children\":[{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1357\",\"attributes\":{\"width\":990,\"height\":540,\"x_range\":{\"type\":\"object\",\"name\":\"Range1d\",\"id\":\"p1366\",\"attributes\":{\"start\":-0.05,\"end\":0.51}},\"y_range\":{\"type\":\"object\",\"name\":\"FactorRange\",\"id\":\"p1367\",\"attributes\":{\"factors\":[\"Other\",\"Other Industrial\",\"Industrial Machinery\",\"Transportation\",\"Office and Residential\",\"Instruments and Communications\",\"Computers and Software\"]}},\"x_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1368\"},\"y_scale\":{\"type\":\"object\",\"name\":\"CategoricalScale\",\"id\":\"p1369\"},\"title\":{\"type\":\"object\",\"name\":\"Title\",\"id\":\"p1364\"},\"outline_line_color\":\"black\",\"outline_line_width\":1,\"renderers\":[{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1391\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1382\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1383\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1384\"},\"data\":{\"type\":\"map\",\"entries\":[[\"index\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"AAAAAAEAAAACAAAAAwAAAAQAAAAFAAAABgAAAAcAAAAIAAAACQAAAAoAAAALAAAADAAAAA0AAAAOAAAADwAAABAAAAARAAAAEgAAABMAAAAUAAAAFQAAABYAAAAXAAAAGAAAABkAAAAaAAAAGwAAABwAAAAdAAAAHgAAAB8AAAAgAAAAIQAAACIAAAAjAAAAJAAAACUAAAAmAAAAJwAAACgAAADGAAAAxwAAAMgAAADOAAAAzwAAANAAAADTAAAA\"},\"shape\":[48],\"dtype\":\"int32\",\"order\":\"little\"}],[\"baseline\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"2FndSWR/xT8062WdivrAP43rVgAU6cY/jetWABTpxj+C61YAFOnGP4LrVgAU6cY/ketWABTpxj+C61YAFOnGP43rVgAU6cY/hutWABTpxj+sVRWVESO9P9bGyACYdb0/ElR7JR32wj+cEx1S7+e9P10kYPapir4/q1XN1wafvz+rVc3XBp+/P7xVzdcGn78/TZs14UUOvD+5TIQM3Uu+P/6TKH6lq70/svLMXO99wD8VcaIU4qTBP36jTGxESMA/xjVUYY5CwT/qTASRXjy8P0B14Vh+p74/bPTZfOKewD93rC0CuTPAP9oGYCpDkr0/uUyEDN1Lvj+kGVMZAha9P50ZU3GjYsA/7vTR+92+wD8DLObLp33CP9WDosVeG74/zYOixV4bvj8n69z1mInDP0VkmzmA9rg/llUAuendvD8K3AQOQ5q5P6/kgVu4ycM/HlLzsDtXvT+WX8+bv6O+P5Ys+HsUMr4/ik+FwuVpwD/89itwh3a/PzJBvnVs4L0/\"},\"shape\":[48],\"dtype\":\"float64\",\"order\":\"little\"}],[\"size\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"IwAAADIAAAAUAAAAIwAAABQAAAAUAAAAFAAAABQAAAAUAAAAIwAAADIAAABBAAAAFAAAAEEAAAAUAAAAMgAAACMAAAAjAAAAFAAAADIAAAAUAAAAIwAAABQAAAAyAAAAFAAAACMAAAAyAAAAQQAAABQAAAAUAAAAIwAAADIAAAAjAAAAIwAAABQAAAAyAAAAIwAAADIAAAAyAAAAIwAAACMAAABBAAAAQQAAAEEAAAAyAAAAMgAAAEEAAABBAAAA\"},\"shape\":[48],\"dtype\":\"int32\",\"order\":\"little\"}],[\"hover\",{\"type\":\"ndarray\",\"array\":[\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\",\"0.%\"],\"shape\":[48],\"dtype\":\"object\",\"order\":\"little\"}],[\"assets\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"guiTRJDTMELUVaUIN/ZGQh+VzBinNxBCqeCRDsHvKEIAAAAAAAAAAFNzOHSIPwFCsBvVAVkXB0IAAAAAAAAAADUokQduzP1BeWM0iaxdGkIJ/Fm/uylQQqBKFSw0u1tCugfwReMT+0EDAkHtxwFdQiG4dVx1TRdCKpXJY/oEP0K8yX5/UXkxQqw/XGX+OjlCI5M5K0SUAEIHwQQ+J3hHQgIRiof0juRB9Dhz5OZvN0Jh54bUKFUPQnIrSU8wkElC4ljVPToM+EF4baBsU147Qvrg35pve0lCuZZFXPKlWELZEUQaZeAWQg5fNzePbgJC/EhZQAzFJULNGx/XE8Y8QpXTvLf6wTNCZi6+73dWNULjDFXOJQcHQrt8k/J2g0NCIy4brJ/VO0J1opjchrg/QoQzxAY9905CcwcfBRFDLUJ6zQEMnmM5QsKhOLU1MVdCVaO39XfyZUKkoiSxoKhoQn2C1lKn00hCMZtlJ7ueU0KCjHryx7tuQkmqbzYCGGxC\"},\"shape\":[48],\"dtype\":\"float64\",\"order\":\"little\"}],[\"short_category\",{\"type\":\"ndarray\",\"array\":[\"Computers and Software\",\"Computers and Software\",\"Computers and Software\",\"Computers and Software\",\"Computers and Software\",\"Computers and Software\",\"Computers and Software\",\"Computers and Software\",\"Computers and Software\",\"Computers and Software\",\"Industrial Machinery\",\"Industrial Machinery\",\"Instruments and Communications\",\"Instruments and Communications\",\"Instruments and Communications\",\"Instruments and Communications\",\"Instruments and Communications\",\"Instruments and Communications\",\"Office and Residential\",\"Office and Residential\",\"Office and Residential\",\"Other\",\"Other\",\"Other\",\"Other Industrial\",\"Other Industrial\",\"Other Industrial\",\"Other Industrial\",\"Other Industrial\",\"Other Industrial\",\"Other Industrial\",\"Other Industrial\",\"Other Industrial\",\"Transportation\",\"Transportation\",\"Transportation\",\"Transportation\",\"Transportation\",\"Transportation\",\"Transportation\",\"Transportation\",\"Computers and Software\",\"Industrial Machinery\",\"Instruments and Communications\",\"Office and Residential\",\"Other\",\"Other Industrial\",\"Transportation\"],\"shape\":[48],\"dtype\":\"object\",\"order\":\"little\"}],[\"asset_name\",{\"type\":\"ndarray\",\"array\":[\"Prepackaged software\",\"Custom software\",\"Mainframes\",\"PCs\",\"DASDs\",\"Printers\",\"Terminals\",\"Tape drives\",\"Storage devices\",\"System integrators\",\"Special industrial machinery\",\"General industrial equipment\",\"Office and accounting equipment\",\"Communications\",\"Photocopy and related equipment\",\"Nonelectro medical instruments\",\"Electro medical instruments\",\"Nonmedical instruments\",\"Household furniture\",\"Other furniture\",\"Household appliances\",\"Service industry machinery\",\"Other electrical\",\"Other\",\"Nuclear fuel\",\"Other fabricated metals\",\"Metalworking machinery\",\"Electric transmission and distribution\",\"Farm tractors\",\"Construction tractors\",\"Other agricultural machinery\",\"Other construction machinery\",\"Mining and oilfield machinery\",\"Steam engines\",\"Internal combustion engines\",\"Light trucks (including utility vehicles)\",\"Other trucks, buses and truck trailers\",\"Autos\",\"Aircraft\",\"Ships and boats\",\"Railroad equipment\",\"Computers and Software\",\"Industrial Machinery\",\"Instruments and Communications Equipment\",\"Office and Residential Equipment\",\"Other Equipment\",\"Other Industrial Equipment\",\"Transportation Equipment\"],\"shape\":[48],\"dtype\":\"object\",\"order\":\"little\"}]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1392\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1393\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1388\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"baseline\"},\"y\":{\"type\":\"field\",\"field\":\"short_category\"},\"size\":{\"type\":\"field\",\"field\":\"size\"},\"line_color\":{\"type\":\"value\",\"value\":\"#333333\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.4},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.4}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1389\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"baseline\"},\"y\":{\"type\":\"field\",\"field\":\"short_category\"},\"size\":{\"type\":\"field\",\"field\":\"size\"},\"line_color\":{\"type\":\"value\",\"value\":\"#333333\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1390\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"baseline\"},\"y\":{\"type\":\"field\",\"field\":\"short_category\"},\"size\":{\"type\":\"field\",\"field\":\"size\"},\"line_color\":{\"type\":\"value\",\"value\":\"#333333\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#718dbf\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}}],\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1365\",\"attributes\":{\"tools\":[{\"type\":\"object\",\"name\":\"HoverTool\",\"id\":\"p1380\",\"attributes\":{\"renderers\":\"auto\",\"tooltips\":[[\"Asset\",\" @asset_name (@hover)\"]]}}]}},\"toolbar_location\":null,\"left\":[{\"type\":\"object\",\"name\":\"CategoricalAxis\",\"id\":\"p1375\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"CategoricalTicker\",\"id\":\"p1376\"},\"formatter\":{\"type\":\"object\",\"name\":\"CategoricalTickFormatter\",\"id\":\"p1377\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1378\"}}}],\"below\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1370\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1371\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"NumeralTickFormatter\",\"id\":\"p1381\",\"attributes\":{\"format\":\"0.1%\"}},\"axis_label\":\"Marginal Effective Tax Rate\",\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1373\"},\"major_tick_line_color\":\"firebrick\",\"major_tick_line_width\":3,\"minor_tick_line_color\":\"orange\"}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1374\",\"attributes\":{\"axis\":{\"id\":\"p1370\"}}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1379\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1375\"}}}],\"background_fill_alpha\":0,\"border_fill_alpha\":0,\"min_border_top\":5,\"min_border_bottom\":0,\"min_border_left\":0,\"min_border_right\":5}},{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1397\",\"attributes\":{\"width\":380,\"height\":150,\"x_range\":{\"type\":\"object\",\"name\":\"Range1d\",\"id\":\"p1407\",\"attributes\":{\"start\":-0.075,\"end\":75}},\"y_range\":{\"type\":\"object\",\"name\":\"DataRange1d\",\"id\":\"p1399\"},\"x_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1408\"},\"y_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1409\"},\"title\":{\"type\":\"object\",\"name\":\"Title\",\"id\":\"p1400\",\"attributes\":{\"text\":\"Asset Amount\"}},\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1406\",\"attributes\":{\"active_drag\":null}},\"left\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1415\",\"attributes\":{\"visible\":false,\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1416\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"BasicTickFormatter\",\"id\":\"p1417\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1418\"}}}],\"below\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1410\",\"attributes\":{\"visible\":false,\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1411\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"BasicTickFormatter\",\"id\":\"p1412\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1413\"}}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1414\",\"attributes\":{\"axis\":{\"id\":\"p1410\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1419\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1415\"},\"grid_line_color\":null}}]}}]}}}},{\"type\":\"object\",\"name\":\"TabPanel\",\"id\":\"p1484\",\"attributes\":{\"title\":\"Structures\",\"child\":{\"type\":\"object\",\"name\":\"Column\",\"id\":\"p1483\",\"attributes\":{\"children\":[{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1420\",\"attributes\":{\"width\":990,\"height\":540,\"x_range\":{\"type\":\"object\",\"name\":\"Range1d\",\"id\":\"p1429\",\"attributes\":{\"start\":-0.05,\"end\":0.51}},\"y_range\":{\"type\":\"object\",\"name\":\"FactorRange\",\"id\":\"p1430\",\"attributes\":{\"factors\":[\"Other\",\"Mining and Drilling\",\"Nonresidential Bldgs\",\"Residential Bldgs\"]}},\"x_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1431\"},\"y_scale\":{\"type\":\"object\",\"name\":\"CategoricalScale\",\"id\":\"p1432\"},\"title\":{\"type\":\"object\",\"name\":\"Title\",\"id\":\"p1427\"},\"outline_line_color\":\"black\",\"outline_line_width\":1,\"renderers\":[{\"type\":\"object\",\"name\":\"GlyphRenderer\",\"id\":\"p1455\",\"attributes\":{\"data_source\":{\"type\":\"object\",\"name\":\"ColumnDataSource\",\"id\":\"p1446\",\"attributes\":{\"selected\":{\"type\":\"object\",\"name\":\"Selection\",\"id\":\"p1447\",\"attributes\":{\"indices\":[],\"line_indices\":[]}},\"selection_policy\":{\"type\":\"object\",\"name\":\"UnionRenderers\",\"id\":\"p1448\"},\"data\":{\"type\":\"map\",\"entries\":[[\"index\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"QgAAAEMAAABEAAAARQAAAEYAAABHAAAASAAAAEkAAABKAAAASwAAAEwAAABNAAAATgAAAE8AAABQAAAAUQAAAFIAAABTAAAAVAAAAFUAAABWAAAAVwAAAFgAAABZAAAAWgAAAFsAAABcAAAAXQAAAF4AAABfAAAAYAAAAGEAAABiAAAAzAAAAM0AAADRAAAA0gAAAOYAAAA=\"},\"shape\":[38],\"dtype\":\"int32\",\"order\":\"little\"}],[\"baseline\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"s7bq3w1OuD8fhKTh3He4PzYvoGRfDb0/s7bq3w1OuD+JYyrnCh+1PwdrNz5ivMw/yQAIqcFszz/MAAipwWzPP8kACKnBbM8/F3Ykvxjx0D+dGzklOF7QP50bOSU4XtA/bMm7x4k10D+aCIXTG7LQP5cIhdMbstA/lAiF0xuy0D92t4MT9FzRP50bOSU4XtA/79MTBup/0D/s0xMG6n/QPyruHeJBO7c/nRs5JThe0D+JYyrnCh+1P8kW/vycor8/gJ7Lp35dvz94nsunfl2/P/xdVaB627w/BEl6fpNVuT+QVbi1Q2q+P/1RMfDWzrY/hhptTymhvD9QGETs8Yi1P9/h9Tr82Ms/v5ypkwpvuT/AgGeIJZfQP3aVbMZA1bs/3+H1OvzYyz/yId8lhN/IPw==\"},\"shape\":[38],\"dtype\":\"float64\",\"order\":\"little\"}],[\"size\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"QQAAACMAAABBAAAAQQAAACMAAAAjAAAAMgAAADIAAAAjAAAAMgAAABQAAAAUAAAAMgAAAEEAAABBAAAAMgAAAEEAAAAUAAAAQQAAACMAAAAyAAAAFAAAABQAAAAjAAAAIwAAACMAAAAUAAAAFAAAADIAAAAyAAAAQQAAACMAAAAyAAAAQQAAAEEAAABBAAAAMgAAAEEAAAA=\"},\"shape\":[38],\"dtype\":\"int32\",\"order\":\"little\"}],[\"hover\",{\"type\":\"ndarray\",\"array\":[\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\",\"0%\"],\"shape\":[38],\"dtype\":\"object\",\"order\":\"little\"}],[\"assets\",{\"type\":\"ndarray\",\"array\":{\"type\":\"bytes\",\"data\":\"CutnFoQQbkIn2/YTB08zQmsOf4v/12BCfauIB/JGVUICaE2K2zg6Qk6mU7+xazdCQFAJgQd1UELL3wr5NbZSQuSjwho4UzBCbQ/IMFIAREI5PljRFdgYQr7TSpuZbOpBQLCdyW9hUEIrC9WI/fVTQm1dNBnYtFhCHnzs81WwREK1mcrM+/VvQv0QKJNU2QxCXSWGDU5gcEJ2TVJnIE45QiF+yETx/kJCtoo7oTY8AUJRGk1QREH6QY43N1HrfzlClBEs+aI5I0LOPwst3IghQlFkGCc/VBVCBWWY6mqK8UE2nye97J4/Qr7Hx03mYENCXZBtIAehbkJKsbxg2MY7QgCAUcSobVNCzOu5fHyef0J4LdDolo6QQh0CxpuCNHtCAIBRxKhtU0J4oJqdGD2gQg==\"},\"shape\":[38],\"dtype\":\"float64\",\"order\":\"little\"}],[\"short_category\",{\"type\":\"ndarray\",\"array\":[\"Mining and Drilling\",\"Mining and Drilling\",\"Mining and Drilling\",\"Mining and Drilling\",\"Mining and Drilling\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Nonresidential Bldgs\",\"Other\",\"Other\",\"Other\",\"Other\",\"Other\",\"Other\",\"Other\",\"Other\",\"Other\",\"Other\",\"Other\",\"Other\",\" Residential Bldgs\",\"Mining and Drilling\",\"Nonresidential Bldgs\",\"Other\",\" Residential Bldgs\",\"Structures\"],\"shape\":[38],\"dtype\":\"object\",\"order\":\"little\"}],[\"asset_name\",{\"type\":\"ndarray\",\"array\":[\"Petroleum and natural gas\",\"Mining\",\"Communication\",\"Gas\",\"Petroleum pipelines\",\"Religious\",\"Educational and vocational\",\"Hospitals\",\"Special care\",\"Lodging\",\"Air transportation\",\"Other transportation\",\"Warehouses\",\"Other commercial\",\"Multimerchandise shopping\",\"Food and beverage establishments\",\"Manufacturing\",\"Public safety\",\"Office\",\"Medical buildings\",\"Amusement and recreation\",\"Local transit structures\",\"Other land transportation\",\"Farm\",\"Water supply\",\"Sewage and waste disposal\",\"Highway and conservation and development\",\"Mobile structures\",\"Other railroad\",\"Track replacement\",\"Electric\",\"Wind and solar\",\"Residential\",\"Mining and Drilling Structures\",\"Nonresidential Buildings\",\"Other Structures\",\"Residential Buildings\",\"Structures\"],\"shape\":[38],\"dtype\":\"object\",\"order\":\"little\"}]]}}},\"view\":{\"type\":\"object\",\"name\":\"CDSView\",\"id\":\"p1456\",\"attributes\":{\"filter\":{\"type\":\"object\",\"name\":\"AllIndices\",\"id\":\"p1457\"}}},\"glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1452\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"baseline\"},\"y\":{\"type\":\"field\",\"field\":\"short_category\"},\"size\":{\"type\":\"field\",\"field\":\"size\"},\"line_color\":{\"type\":\"value\",\"value\":\"#333333\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.4},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.4},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.4}}},\"nonselection_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1453\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"baseline\"},\"y\":{\"type\":\"field\",\"field\":\"short_category\"},\"size\":{\"type\":\"field\",\"field\":\"size\"},\"line_color\":{\"type\":\"value\",\"value\":\"#333333\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.1},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.1},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.1}}},\"muted_glyph\":{\"type\":\"object\",\"name\":\"Scatter\",\"id\":\"p1454\",\"attributes\":{\"x\":{\"type\":\"field\",\"field\":\"baseline\"},\"y\":{\"type\":\"field\",\"field\":\"short_category\"},\"size\":{\"type\":\"field\",\"field\":\"size\"},\"line_color\":{\"type\":\"value\",\"value\":\"#333333\"},\"line_alpha\":{\"type\":\"value\",\"value\":0.2},\"fill_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"fill_alpha\":{\"type\":\"value\",\"value\":0.2},\"hatch_color\":{\"type\":\"value\",\"value\":\"#e84d60\"},\"hatch_alpha\":{\"type\":\"value\",\"value\":0.2}}}}}],\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1428\",\"attributes\":{\"tools\":[{\"type\":\"object\",\"name\":\"HoverTool\",\"id\":\"p1443\",\"attributes\":{\"renderers\":\"auto\",\"tooltips\":[[\"Asset\",\" @asset_name (@hover)\"]]}}]}},\"toolbar_location\":null,\"left\":[{\"type\":\"object\",\"name\":\"CategoricalAxis\",\"id\":\"p1438\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"CategoricalTicker\",\"id\":\"p1439\"},\"formatter\":{\"type\":\"object\",\"name\":\"CategoricalTickFormatter\",\"id\":\"p1440\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1441\"}}}],\"above\":[{\"type\":\"object\",\"name\":\"Title\",\"id\":\"p1444\",\"attributes\":{\"text\":\"Marginal Effective Tax Rates on Corporate Investments in Structures\",\"text_color\":\"#6B6B73\",\"text_font\":\"Helvetica\",\"text_font_size\":\"9pt\",\"align\":\"center\"}}],\"below\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1433\",\"attributes\":{\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1434\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"NumeralTickFormatter\",\"id\":\"p1445\",\"attributes\":{\"format\":\"0.1%\"}},\"axis_label\":\"Marginal Effective Tax Rate\",\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1436\"},\"major_tick_line_color\":\"firebrick\",\"major_tick_line_width\":3,\"minor_tick_line_color\":\"orange\"}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1437\",\"attributes\":{\"axis\":{\"id\":\"p1433\"}}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1442\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1438\"}}}],\"background_fill_alpha\":0,\"border_fill_alpha\":0,\"min_border_top\":5,\"min_border_bottom\":0,\"min_border_left\":0,\"min_border_right\":5}},{\"type\":\"object\",\"name\":\"Figure\",\"id\":\"p1458\",\"attributes\":{\"width\":380,\"height\":150,\"x_range\":{\"type\":\"object\",\"name\":\"Range1d\",\"id\":\"p1468\",\"attributes\":{\"start\":-0.075,\"end\":0.75}},\"y_range\":{\"type\":\"object\",\"name\":\"DataRange1d\",\"id\":\"p1460\"},\"x_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1469\"},\"y_scale\":{\"type\":\"object\",\"name\":\"LinearScale\",\"id\":\"p1470\"},\"title\":{\"type\":\"object\",\"name\":\"Title\",\"id\":\"p1461\",\"attributes\":{\"text\":\"Asset Amount\"}},\"toolbar\":{\"type\":\"object\",\"name\":\"Toolbar\",\"id\":\"p1467\",\"attributes\":{\"active_drag\":null}},\"left\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1476\",\"attributes\":{\"visible\":false,\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1477\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"BasicTickFormatter\",\"id\":\"p1478\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1479\"}}}],\"below\":[{\"type\":\"object\",\"name\":\"LinearAxis\",\"id\":\"p1471\",\"attributes\":{\"visible\":false,\"ticker\":{\"type\":\"object\",\"name\":\"BasicTicker\",\"id\":\"p1472\",\"attributes\":{\"mantissas\":[1,2,5]}},\"formatter\":{\"type\":\"object\",\"name\":\"BasicTickFormatter\",\"id\":\"p1473\"},\"major_label_policy\":{\"type\":\"object\",\"name\":\"AllLabels\",\"id\":\"p1474\"}}}],\"center\":[{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1475\",\"attributes\":{\"axis\":{\"id\":\"p1471\"},\"grid_line_color\":null}},{\"type\":\"object\",\"name\":\"Grid\",\"id\":\"p1480\",\"attributes\":{\"dimension\":1,\"axis\":{\"id\":\"p1476\"},\"grid_line_color\":null}}]}}]}}}}]}}]}};\n const render_items = [{\"docid\":\"87e5985c-dc90-45b8-9325-0ed744f3e6ce\",\"roots\":{\"p1485\":\"f8f3570d-d72c-4eae-aaf7-c22698833ca6\"},\"root_ids\":[\"p1485\"]}];\n root.Bokeh.embed.embed_items_notebook(docs_json, render_items);\n }\n if (root.Bokeh !== undefined) {\n embed_document(root);\n } else {\n let attempts = 0;\n const timer = setInterval(function(root) {\n if (root.Bokeh !== undefined) {\n clearInterval(timer);\n embed_document(root);\n } else {\n attempts++;\n if (attempts > 100) {\n clearInterval(timer);\n console.log(\"Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing\");\n }\n }\n }, 10, root)\n }\n})(window);", "application/vnd.bokehjs_exec.v0+json": "" }, "metadata": { "application/vnd.bokehjs_exec.v0+json": { - "id": "p1461" + "id": "p1485" } }, "output_type": "display_data" @@ -2264,7 +1885,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "ccc-dev", "language": "python", "name": "python3" }, @@ -2278,7 +1899,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.2" + "version": "3.12.5" } }, "nbformat": 4, diff --git a/docs/book/content/examples/TCJA_extension.ipynb b/docs/book/content/examples/TCJA_extension.ipynb index 77dea940..1bb148b9 100644 --- a/docs/book/content/examples/TCJA_extension.ipynb +++ b/docs/book/content/examples/TCJA_extension.ipynb @@ -20,9 +20,39 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 1, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Requirement already satisfied: cost-of-capital-calculator in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (1.5.2)\n", + "Requirement already satisfied: taxcalc in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from cost-of-capital-calculator) (4.4.0)\n", + "Requirement already satisfied: pandas in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from cost-of-capital-calculator) (2.2.2)\n", + "Requirement already satisfied: bokeh in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from cost-of-capital-calculator) (3.3.4)\n", + "Requirement already satisfied: numpy in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from cost-of-capital-calculator) (1.26.4)\n", + "Requirement already satisfied: paramtools in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from cost-of-capital-calculator) (0.19.0)\n", + "Requirement already satisfied: Jinja2>=2.9 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from bokeh->cost-of-capital-calculator) (3.1.4)\n", + "Requirement already satisfied: contourpy>=1 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from bokeh->cost-of-capital-calculator) (1.2.0)\n", + "Requirement already satisfied: packaging>=16.8 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from bokeh->cost-of-capital-calculator) (24.1)\n", + "Requirement already satisfied: pillow>=7.1.0 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from bokeh->cost-of-capital-calculator) (10.4.0)\n", + "Requirement already satisfied: PyYAML>=3.10 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from bokeh->cost-of-capital-calculator) (6.0.1)\n", + "Requirement already satisfied: tornado>=5.1 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from bokeh->cost-of-capital-calculator) (6.4.1)\n", + "Requirement already satisfied: xyzservices>=2021.09.1 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from bokeh->cost-of-capital-calculator) (2022.9.0)\n", + "Requirement already satisfied: python-dateutil>=2.8.2 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from pandas->cost-of-capital-calculator) (2.9.0.post0)\n", + "Requirement already satisfied: pytz>=2020.1 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from pandas->cost-of-capital-calculator) (2024.1)\n", + "Requirement already satisfied: tzdata>=2022.7 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from pandas->cost-of-capital-calculator) (2023.3)\n", + "Requirement already satisfied: marshmallow>=3.0.0 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from paramtools->cost-of-capital-calculator) (3.19.0)\n", + "Requirement already satisfied: fsspec in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from paramtools->cost-of-capital-calculator) (2024.6.1)\n", + "Requirement already satisfied: sortedcontainers in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from paramtools->cost-of-capital-calculator) (2.4.0)\n", + "Requirement already satisfied: numba in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from taxcalc->cost-of-capital-calculator) (0.59.0)\n", + "Requirement already satisfied: MarkupSafe>=2.0 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from Jinja2>=2.9->bokeh->cost-of-capital-calculator) (2.1.3)\n", + "Requirement already satisfied: six>=1.5 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from python-dateutil>=2.8.2->pandas->cost-of-capital-calculator) (1.16.0)\n", + "Requirement already satisfied: llvmlite<0.43,>=0.42.0dev0 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.12/site-packages (from numba->taxcalc->cost-of-capital-calculator) (0.42.0)\n" + ] + } + ], "source": [ "# To install ccc package (if not already):\n", "import sys\n", @@ -32,7 +62,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 2, "metadata": {}, "outputs": [ { @@ -48,7 +78,7 @@ " \n", "
\n", " \n", - " Loading BokehJS ...\n", + " Loading BokehJS ...\n", "
\n" ] }, @@ -57,7 +87,7 @@ }, { "data": { - "application/javascript": "(function(root) {\n function now() {\n return new Date();\n }\n\n const force = true;\n\n if (typeof root._bokeh_onload_callbacks === \"undefined\" || force === true) {\n root._bokeh_onload_callbacks = [];\n root._bokeh_is_loading = undefined;\n }\n\nconst JS_MIME_TYPE = 'application/javascript';\n const HTML_MIME_TYPE = 'text/html';\n const EXEC_MIME_TYPE = 'application/vnd.bokehjs_exec.v0+json';\n const CLASS_NAME = 'output_bokeh rendered_html';\n\n /**\n * Render data to the DOM node\n */\n function render(props, node) {\n const script = document.createElement(\"script\");\n node.appendChild(script);\n }\n\n /**\n * Handle when an output is cleared or removed\n */\n function handleClearOutput(event, handle) {\n function drop(id) {\n const view = Bokeh.index.get_by_id(id)\n if (view != null) {\n view.model.document.clear()\n Bokeh.index.delete(view)\n }\n }\n\n const cell = handle.cell;\n\n const id = cell.output_area._bokeh_element_id;\n const server_id = cell.output_area._bokeh_server_id;\n\n // Clean up Bokeh references\n if (id != null) {\n drop(id)\n }\n\n if (server_id !== undefined) {\n // Clean up Bokeh references\n const cmd_clean = \"from bokeh.io.state import curstate; print(curstate().uuid_to_server['\" + server_id + \"'].get_sessions()[0].document.roots[0]._id)\";\n cell.notebook.kernel.execute(cmd_clean, {\n iopub: {\n output: function(msg) {\n const id = msg.content.text.trim()\n drop(id)\n }\n }\n });\n // Destroy server and session\n const cmd_destroy = \"import bokeh.io.notebook as ion; ion.destroy_server('\" + server_id + \"')\";\n cell.notebook.kernel.execute(cmd_destroy);\n }\n }\n\n /**\n * Handle when a new output is added\n */\n function handleAddOutput(event, handle) {\n const output_area = handle.output_area;\n const output = handle.output;\n\n // limit handleAddOutput to display_data with EXEC_MIME_TYPE content only\n if ((output.output_type != \"display_data\") || (!Object.prototype.hasOwnProperty.call(output.data, EXEC_MIME_TYPE))) {\n return\n }\n\n const toinsert = output_area.element.find(\".\" + CLASS_NAME.split(' ')[0]);\n\n if (output.metadata[EXEC_MIME_TYPE][\"id\"] !== undefined) {\n toinsert[toinsert.length - 1].firstChild.textContent = output.data[JS_MIME_TYPE];\n // store reference to embed id on output_area\n output_area._bokeh_element_id = output.metadata[EXEC_MIME_TYPE][\"id\"];\n }\n if (output.metadata[EXEC_MIME_TYPE][\"server_id\"] !== undefined) {\n const bk_div = document.createElement(\"div\");\n bk_div.innerHTML = output.data[HTML_MIME_TYPE];\n const script_attrs = bk_div.children[0].attributes;\n for (let i = 0; i < script_attrs.length; i++) {\n toinsert[toinsert.length - 1].firstChild.setAttribute(script_attrs[i].name, script_attrs[i].value);\n toinsert[toinsert.length - 1].firstChild.textContent = bk_div.children[0].textContent\n }\n // store reference to server id on output_area\n output_area._bokeh_server_id = output.metadata[EXEC_MIME_TYPE][\"server_id\"];\n }\n }\n\n function register_renderer(events, OutputArea) {\n\n function append_mime(data, metadata, element) {\n // create a DOM node to render to\n const toinsert = this.create_output_subarea(\n metadata,\n CLASS_NAME,\n EXEC_MIME_TYPE\n );\n this.keyboard_manager.register_events(toinsert);\n // Render to node\n const props = {data: data, metadata: metadata[EXEC_MIME_TYPE]};\n render(props, toinsert[toinsert.length - 1]);\n element.append(toinsert);\n return toinsert\n }\n\n /* Handle when an output is cleared or removed */\n events.on('clear_output.CodeCell', handleClearOutput);\n events.on('delete.Cell', handleClearOutput);\n\n /* Handle when a new output is added */\n events.on('output_added.OutputArea', handleAddOutput);\n\n /**\n * Register the mime type and append_mime function with output_area\n */\n OutputArea.prototype.register_mime_type(EXEC_MIME_TYPE, append_mime, {\n /* Is output safe? */\n safe: true,\n /* Index of renderer in `output_area.display_order` */\n index: 0\n });\n }\n\n // register the mime type if in Jupyter Notebook environment and previously unregistered\n if (root.Jupyter !== undefined) {\n const events = require('base/js/events');\n const OutputArea = require('notebook/js/outputarea').OutputArea;\n\n if (OutputArea.prototype.mime_types().indexOf(EXEC_MIME_TYPE) == -1) {\n register_renderer(events, OutputArea);\n }\n }\n if (typeof (root._bokeh_timeout) === \"undefined\" || force === true) {\n root._bokeh_timeout = Date.now() + 5000;\n root._bokeh_failed_load = false;\n }\n\n const NB_LOAD_WARNING = {'data': {'text/html':\n \"
\\n\"+\n \"

\\n\"+\n \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n \"

\\n\"+\n \"
    \\n\"+\n \"
  • re-rerun `output_notebook()` to attempt to load from CDN again, or
  • \\n\"+\n \"
  • use INLINE resources instead, as so:
  • \\n\"+\n \"
\\n\"+\n \"\\n\"+\n \"from bokeh.resources import INLINE\\n\"+\n \"output_notebook(resources=INLINE)\\n\"+\n \"\\n\"+\n \"
\"}};\n\n function display_loaded() {\n const el = document.getElementById(\"fc42427e-f8ac-4c83-a65c-5c55ffba97c9\");\n if (el != null) {\n el.textContent = \"BokehJS is loading...\";\n }\n if (root.Bokeh !== undefined) {\n if (el != null) {\n el.textContent = \"BokehJS \" + root.Bokeh.version + \" successfully loaded.\";\n }\n } else if (Date.now() < root._bokeh_timeout) {\n setTimeout(display_loaded, 100)\n }\n }\n\n function run_callbacks() {\n try {\n root._bokeh_onload_callbacks.forEach(function(callback) {\n if (callback != null)\n callback();\n });\n } finally {\n delete root._bokeh_onload_callbacks\n }\n console.debug(\"Bokeh: all callbacks have finished\");\n }\n\n function load_libs(css_urls, js_urls, callback) {\n if (css_urls == null) css_urls = [];\n if (js_urls == null) js_urls = [];\n\n root._bokeh_onload_callbacks.push(callback);\n if (root._bokeh_is_loading > 0) {\n console.debug(\"Bokeh: BokehJS is being loaded, scheduling callback at\", now());\n return null;\n }\n if (js_urls == null || js_urls.length === 0) {\n run_callbacks();\n return null;\n }\n console.debug(\"Bokeh: BokehJS not loaded, scheduling load and callback at\", now());\n root._bokeh_is_loading = css_urls.length + js_urls.length;\n\n function on_load() {\n root._bokeh_is_loading--;\n if (root._bokeh_is_loading === 0) {\n console.debug(\"Bokeh: all BokehJS libraries/stylesheets loaded\");\n run_callbacks()\n }\n }\n\n function on_error(url) {\n console.error(\"failed to load \" + url);\n }\n\n for (let i = 0; i < css_urls.length; i++) {\n const url = css_urls[i];\n const element = document.createElement(\"link\");\n element.onload = on_load;\n element.onerror = on_error.bind(null, url);\n element.rel = \"stylesheet\";\n element.type = \"text/css\";\n element.href = url;\n console.debug(\"Bokeh: injecting link tag for BokehJS stylesheet: \", url);\n document.body.appendChild(element);\n }\n\n for (let i = 0; i < js_urls.length; i++) {\n const url = js_urls[i];\n const element = document.createElement('script');\n element.onload = on_load;\n element.onerror = on_error.bind(null, url);\n element.async = false;\n element.src = url;\n console.debug(\"Bokeh: injecting script tag for BokehJS library: \", url);\n document.head.appendChild(element);\n }\n };\n\n function inject_raw_css(css) {\n const element = document.createElement(\"style\");\n element.appendChild(document.createTextNode(css));\n document.body.appendChild(element);\n }\n\n const js_urls = [\"https://cdn.bokeh.org/bokeh/release/bokeh-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-gl-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-3.3.4.min.js\"];\n const css_urls = [];\n\n const inline_js = [ function(Bokeh) {\n Bokeh.set_log_level(\"info\");\n },\nfunction(Bokeh) {\n }\n ];\n\n function run_inline_js() {\n if (root.Bokeh !== undefined || force === true) {\n for (let i = 0; i < inline_js.length; i++) {\n inline_js[i].call(root, root.Bokeh);\n }\nif (force === true) {\n display_loaded();\n }} else if (Date.now() < root._bokeh_timeout) {\n setTimeout(run_inline_js, 100);\n } else if (!root._bokeh_failed_load) {\n console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n root._bokeh_failed_load = true;\n } else if (force !== true) {\n const cell = $(document.getElementById(\"fc42427e-f8ac-4c83-a65c-5c55ffba97c9\")).parents('.cell').data().cell;\n cell.output_area.append_execute_result(NB_LOAD_WARNING)\n }\n }\n\n if (root._bokeh_is_loading === 0) {\n console.debug(\"Bokeh: BokehJS loaded, going straight to plotting\");\n run_inline_js();\n } else {\n load_libs(css_urls, js_urls, function() {\n console.debug(\"Bokeh: BokehJS plotting callback run at\", now());\n run_inline_js();\n });\n }\n}(window));", + "application/javascript": "(function(root) {\n function now() {\n return new Date();\n }\n\n const force = true;\n\n if (typeof root._bokeh_onload_callbacks === \"undefined\" || force === true) {\n root._bokeh_onload_callbacks = [];\n root._bokeh_is_loading = undefined;\n }\n\nconst JS_MIME_TYPE = 'application/javascript';\n const HTML_MIME_TYPE = 'text/html';\n const EXEC_MIME_TYPE = 'application/vnd.bokehjs_exec.v0+json';\n const CLASS_NAME = 'output_bokeh rendered_html';\n\n /**\n * Render data to the DOM node\n */\n function render(props, node) {\n const script = document.createElement(\"script\");\n node.appendChild(script);\n }\n\n /**\n * Handle when an output is cleared or removed\n */\n function handleClearOutput(event, handle) {\n function drop(id) {\n const view = Bokeh.index.get_by_id(id)\n if (view != null) {\n view.model.document.clear()\n Bokeh.index.delete(view)\n }\n }\n\n const cell = handle.cell;\n\n const id = cell.output_area._bokeh_element_id;\n const server_id = cell.output_area._bokeh_server_id;\n\n // Clean up Bokeh references\n if (id != null) {\n drop(id)\n }\n\n if (server_id !== undefined) {\n // Clean up Bokeh references\n const cmd_clean = \"from bokeh.io.state import curstate; print(curstate().uuid_to_server['\" + server_id + \"'].get_sessions()[0].document.roots[0]._id)\";\n cell.notebook.kernel.execute(cmd_clean, {\n iopub: {\n output: function(msg) {\n const id = msg.content.text.trim()\n drop(id)\n }\n }\n });\n // Destroy server and session\n const cmd_destroy = \"import bokeh.io.notebook as ion; ion.destroy_server('\" + server_id + \"')\";\n cell.notebook.kernel.execute(cmd_destroy);\n }\n }\n\n /**\n * Handle when a new output is added\n */\n function handleAddOutput(event, handle) {\n const output_area = handle.output_area;\n const output = handle.output;\n\n // limit handleAddOutput to display_data with EXEC_MIME_TYPE content only\n if ((output.output_type != \"display_data\") || (!Object.prototype.hasOwnProperty.call(output.data, EXEC_MIME_TYPE))) {\n return\n }\n\n const toinsert = output_area.element.find(\".\" + CLASS_NAME.split(' ')[0]);\n\n if (output.metadata[EXEC_MIME_TYPE][\"id\"] !== undefined) {\n toinsert[toinsert.length - 1].firstChild.textContent = output.data[JS_MIME_TYPE];\n // store reference to embed id on output_area\n output_area._bokeh_element_id = output.metadata[EXEC_MIME_TYPE][\"id\"];\n }\n if (output.metadata[EXEC_MIME_TYPE][\"server_id\"] !== undefined) {\n const bk_div = document.createElement(\"div\");\n bk_div.innerHTML = output.data[HTML_MIME_TYPE];\n const script_attrs = bk_div.children[0].attributes;\n for (let i = 0; i < script_attrs.length; i++) {\n toinsert[toinsert.length - 1].firstChild.setAttribute(script_attrs[i].name, script_attrs[i].value);\n toinsert[toinsert.length - 1].firstChild.textContent = bk_div.children[0].textContent\n }\n // store reference to server id on output_area\n output_area._bokeh_server_id = output.metadata[EXEC_MIME_TYPE][\"server_id\"];\n }\n }\n\n function register_renderer(events, OutputArea) {\n\n function append_mime(data, metadata, element) {\n // create a DOM node to render to\n const toinsert = this.create_output_subarea(\n metadata,\n CLASS_NAME,\n EXEC_MIME_TYPE\n );\n this.keyboard_manager.register_events(toinsert);\n // Render to node\n const props = {data: data, metadata: metadata[EXEC_MIME_TYPE]};\n render(props, toinsert[toinsert.length - 1]);\n element.append(toinsert);\n return toinsert\n }\n\n /* Handle when an output is cleared or removed */\n events.on('clear_output.CodeCell', handleClearOutput);\n events.on('delete.Cell', handleClearOutput);\n\n /* Handle when a new output is added */\n events.on('output_added.OutputArea', handleAddOutput);\n\n /**\n * Register the mime type and append_mime function with output_area\n */\n OutputArea.prototype.register_mime_type(EXEC_MIME_TYPE, append_mime, {\n /* Is output safe? */\n safe: true,\n /* Index of renderer in `output_area.display_order` */\n index: 0\n });\n }\n\n // register the mime type if in Jupyter Notebook environment and previously unregistered\n if (root.Jupyter !== undefined) {\n const events = require('base/js/events');\n const OutputArea = require('notebook/js/outputarea').OutputArea;\n\n if (OutputArea.prototype.mime_types().indexOf(EXEC_MIME_TYPE) == -1) {\n register_renderer(events, OutputArea);\n }\n }\n if (typeof (root._bokeh_timeout) === \"undefined\" || force === true) {\n root._bokeh_timeout = Date.now() + 5000;\n root._bokeh_failed_load = false;\n }\n\n const NB_LOAD_WARNING = {'data': {'text/html':\n \"
\\n\"+\n \"

\\n\"+\n \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n \"

\\n\"+\n \"
    \\n\"+\n \"
  • re-rerun `output_notebook()` to attempt to load from CDN again, or
  • \\n\"+\n \"
  • use INLINE resources instead, as so:
  • \\n\"+\n \"
\\n\"+\n \"\\n\"+\n \"from bokeh.resources import INLINE\\n\"+\n \"output_notebook(resources=INLINE)\\n\"+\n \"\\n\"+\n \"
\"}};\n\n function display_loaded() {\n const el = document.getElementById(\"c130108d-fb93-4e25-ac18-a00ccd06668b\");\n if (el != null) {\n el.textContent = \"BokehJS is loading...\";\n }\n if (root.Bokeh !== undefined) {\n if (el != null) {\n el.textContent = \"BokehJS \" + root.Bokeh.version + \" successfully loaded.\";\n }\n } else if (Date.now() < root._bokeh_timeout) {\n setTimeout(display_loaded, 100)\n }\n }\n\n function run_callbacks() {\n try {\n root._bokeh_onload_callbacks.forEach(function(callback) {\n if (callback != null)\n callback();\n });\n } finally {\n delete root._bokeh_onload_callbacks\n }\n console.debug(\"Bokeh: all callbacks have finished\");\n }\n\n function load_libs(css_urls, js_urls, callback) {\n if (css_urls == null) css_urls = [];\n if (js_urls == null) js_urls = [];\n\n root._bokeh_onload_callbacks.push(callback);\n if (root._bokeh_is_loading > 0) {\n console.debug(\"Bokeh: BokehJS is being loaded, scheduling callback at\", now());\n return null;\n }\n if (js_urls == null || js_urls.length === 0) {\n run_callbacks();\n return null;\n }\n console.debug(\"Bokeh: BokehJS not loaded, scheduling load and callback at\", now());\n root._bokeh_is_loading = css_urls.length + js_urls.length;\n\n function on_load() {\n root._bokeh_is_loading--;\n if (root._bokeh_is_loading === 0) {\n console.debug(\"Bokeh: all BokehJS libraries/stylesheets loaded\");\n run_callbacks()\n }\n }\n\n function on_error(url) {\n console.error(\"failed to load \" + url);\n }\n\n for (let i = 0; i < css_urls.length; i++) {\n const url = css_urls[i];\n const element = document.createElement(\"link\");\n element.onload = on_load;\n element.onerror = on_error.bind(null, url);\n element.rel = \"stylesheet\";\n element.type = \"text/css\";\n element.href = url;\n console.debug(\"Bokeh: injecting link tag for BokehJS stylesheet: \", url);\n document.body.appendChild(element);\n }\n\n for (let i = 0; i < js_urls.length; i++) {\n const url = js_urls[i];\n const element = document.createElement('script');\n element.onload = on_load;\n element.onerror = on_error.bind(null, url);\n element.async = false;\n element.src = url;\n console.debug(\"Bokeh: injecting script tag for BokehJS library: \", url);\n document.head.appendChild(element);\n }\n };\n\n function inject_raw_css(css) {\n const element = document.createElement(\"style\");\n element.appendChild(document.createTextNode(css));\n document.body.appendChild(element);\n }\n\n const js_urls = [\"https://cdn.bokeh.org/bokeh/release/bokeh-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-gl-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.3.4.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-3.3.4.min.js\"];\n const css_urls = [];\n\n const inline_js = [ function(Bokeh) {\n Bokeh.set_log_level(\"info\");\n },\nfunction(Bokeh) {\n }\n ];\n\n function run_inline_js() {\n if (root.Bokeh !== undefined || force === true) {\n for (let i = 0; i < inline_js.length; i++) {\n inline_js[i].call(root, root.Bokeh);\n }\nif (force === true) {\n display_loaded();\n }} else if (Date.now() < root._bokeh_timeout) {\n setTimeout(run_inline_js, 100);\n } else if (!root._bokeh_failed_load) {\n console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n root._bokeh_failed_load = true;\n } else if (force !== true) {\n const cell = $(document.getElementById(\"c130108d-fb93-4e25-ac18-a00ccd06668b\")).parents('.cell').data().cell;\n cell.output_area.append_execute_result(NB_LOAD_WARNING)\n }\n }\n\n if (root._bokeh_is_loading === 0) {\n console.debug(\"Bokeh: BokehJS loaded, going straight to plotting\");\n run_inline_js();\n } else {\n load_libs(css_urls, js_urls, function() {\n console.debug(\"Bokeh: BokehJS plotting callback run at\", now());\n run_inline_js();\n });\n }\n}(window));", "application/vnd.bokehjs_load.v0+json": "" }, "metadata": {}, @@ -88,7 +118,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [ @@ -112,23 +142,9 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": 4, "metadata": {}, - "outputs": [ - { - "ename": "IndexError", - "evalue": "index 0 is out of bounds for axis 0 with size 0", - "output_type": "error", - "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mIndexError\u001b[0m Traceback (most recent call last)", - "Cell \u001b[0;32mIn[24], line 5\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[38;5;66;03m# Create an instance of the Specification class\u001b[39;00m\n\u001b[1;32m 4\u001b[0m p2 \u001b[38;5;241m=\u001b[39m Specification(call_tc\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mFalse\u001b[39;00m, year\u001b[38;5;241m=\u001b[39m\u001b[38;5;241m2027\u001b[39m) \u001b[38;5;66;03m# choose year after TCJA expires\u001b[39;00m\n\u001b[0;32m----> 5\u001b[0m \u001b[43mp2\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mupdate_specification\u001b[49m\u001b[43m(\u001b[49m\u001b[43mos\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mpath\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mjoin\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43m..\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43m..\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43m..\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43m..\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[38;5;124;43mccc\u001b[39;49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[38;5;124;43mtcja_extension.json\u001b[39;49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[43m)\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 6\u001b[0m \u001b[38;5;66;03m# Create an instance of the DepreciationParams class\u001b[39;00m\n\u001b[1;32m 7\u001b[0m dp \u001b[38;5;241m=\u001b[39m DepreciationParams()\n", - "File \u001b[0;32m~/repos/CCC/ccc/parameters.py:245\u001b[0m, in \u001b[0;36mSpecification.update_specification\u001b[0;34m(self, revision, raise_errors)\u001b[0m\n\u001b[1;32m 243\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mValueError\u001b[39;00m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mERROR: revision is not a dictionary or string\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n\u001b[1;32m 244\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39madjust(revision, raise_errors\u001b[38;5;241m=\u001b[39mraise_errors)\n\u001b[0;32m--> 245\u001b[0m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mcompute_default_params\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n", - "File \u001b[0;32m~/repos/CCC/ccc/parameters.py:187\u001b[0m, in \u001b[0;36mSpecification.compute_default_params\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 185\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mbonus_deprec \u001b[38;5;241m=\u001b[39m {}\n\u001b[1;32m 186\u001b[0m \u001b[38;5;28;01mfor\u001b[39;00m cl \u001b[38;5;129;01min\u001b[39;00m class_list_str:\n\u001b[0;32m--> 187\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mbonus_deprec[cl] \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mgetattr\u001b[39;49m\u001b[43m(\u001b[49m\n\u001b[1;32m 188\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mBonusDeprec_\u001b[39;49m\u001b[38;5;132;43;01m{}\u001b[39;49;00m\u001b[38;5;124;43myr\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mformat\u001b[49m\u001b[43m(\u001b[49m\u001b[43mcl\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 189\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\u001b[43m[\u001b[49m\u001b[38;5;241;43m0\u001b[39;49m\u001b[43m]\u001b[49m\n\u001b[1;32m 190\u001b[0m \u001b[38;5;66;03m# to handle land and inventories\u001b[39;00m\n\u001b[1;32m 191\u001b[0m \u001b[38;5;66;03m# this is fixed later, but should work on this\u001b[39;00m\n\u001b[1;32m 192\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mbonus_deprec[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m100\u001b[39m\u001b[38;5;124m\"\u001b[39m] \u001b[38;5;241m=\u001b[39m \u001b[38;5;241m0.0\u001b[39m\n", - "\u001b[0;31mIndexError\u001b[0m: index 0 is out of bounds for axis 0 with size 0" - ] - } - ], + "outputs": [], "source": [ "# Create an instance of the Assets class\n", "assets = Assets()\n", @@ -155,7 +171,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 5, "metadata": {}, "outputs": [ { @@ -189,51 +205,51 @@ " \n", " 0\n", " Overall\n", - " 22.061070\n", - " 20.280837\n", - " -1.780234\n", + " 25.390702\n", + " 20.332555\n", + " -5.058147\n", " \n", " \n", " 1\n", " Corporations\n", - " 22.053440\n", - " 21.173608\n", - " -0.879832\n", + " 22.104009\n", + " 21.224748\n", + " -0.879261\n", " \n", " \n", " 2\n", " Equity Financed\n", - " 24.290534\n", - " 23.435529\n", - " -0.855005\n", + " 24.337664\n", + " 23.483192\n", + " -0.854472\n", " \n", " \n", " 3\n", " Debt Financed\n", - " 14.099487\n", - " 13.100244\n", - " -0.999243\n", + " 14.162442\n", + " 13.163931\n", + " -0.998511\n", " \n", " \n", " 4\n", " Pass-Through Entities\n", - " 23.679694\n", - " 20.858889\n", - " -2.820805\n", + " 30.434236\n", + " 20.914354\n", + " -9.519882\n", " \n", " \n", " 5\n", " Equity Financed\n", - " 22.924874\n", - " 18.482954\n", - " -4.441920\n", + " 32.856851\n", + " 18.533700\n", + " -14.323151\n", " \n", " \n", " 6\n", " Debt Financed\n", - " 26.911062\n", - " 29.792381\n", - " 2.881319\n", + " 18.024908\n", + " 29.865425\n", + " 11.840518\n", " \n", " \n", "\n", @@ -250,34 +266,34 @@ "6 Debt Financed \n", "\n", " Marginal Effective Total Tax Rate Under Baseline Policy \\\n", - "0 22.061070 \n", - "1 22.053440 \n", - "2 24.290534 \n", - "3 14.099487 \n", - "4 23.679694 \n", - "5 22.924874 \n", - "6 26.911062 \n", + "0 25.390702 \n", + "1 22.104009 \n", + "2 24.337664 \n", + "3 14.162442 \n", + "4 30.434236 \n", + "5 32.856851 \n", + "6 18.024908 \n", "\n", " Marginal Effective Total Tax Rate Under Reform Policy \\\n", - "0 20.280837 \n", - "1 21.173608 \n", - "2 23.435529 \n", - "3 13.100244 \n", - "4 20.858889 \n", - "5 18.482954 \n", - "6 29.792381 \n", + "0 20.332555 \n", + "1 21.224748 \n", + "2 23.483192 \n", + "3 13.163931 \n", + "4 20.914354 \n", + "5 18.533700 \n", + "6 29.865425 \n", "\n", " Change from Baseline (pp) \n", - "0 -1.780234 \n", - "1 -0.879832 \n", - "2 -0.855005 \n", - "3 -0.999243 \n", - "4 -2.820805 \n", - "5 -4.441920 \n", - "6 2.881319 " + "0 -5.058147 \n", + "1 -0.879261 \n", + "2 -0.854472 \n", + "3 -0.998511 \n", + "4 -9.519882 \n", + "5 -14.323151 \n", + "6 11.840518 " ] }, - "execution_count": 22, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -291,16 +307,16 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 6, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "array([0.20116501])" + "array([0.3563643])" ] }, - "execution_count": 14, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" } @@ -319,7 +335,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "ccc-dev", "language": "python", "name": "python3" }, @@ -333,7 +349,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.2" + "version": "3.12.5" } }, "nbformat": 4,