From d0b1b9daced9d1915dec02b57f5855ab2e8f3993 Mon Sep 17 00:00:00 2001 From: jdebacker Date: Mon, 4 Sep 2023 20:35:24 -0400 Subject: [PATCH 1/7] comment out second active toolbar setting --- ccc/calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccc/calculator.py b/ccc/calculator.py index b90f1470..074b7bd9 100644 --- a/ccc/calculator.py +++ b/ccc/calculator.py @@ -1390,7 +1390,7 @@ def bubble_widget(self, calc, output_variable='mettr', # p2_legend.add_layout(l2) p2_legend.axis.visible = False p2_legend.grid.grid_line_color = None - p2_legend.toolbar.active_drag = None + # p2_legend.toolbar.active_drag = None # add buttons controls_callback = CustomJS( From c8a185392c4344f403a8923188048ce9e1beb1f6 Mon Sep 17 00:00:00 2001 From: jdebacker Date: Tue, 5 Sep 2023 12:58:56 -0400 Subject: [PATCH 2/7] remove deprecated apply(pd.Series) call --- ccc/calcfunctions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ccc/calcfunctions.py b/ccc/calcfunctions.py index 9ab19966..f8dbd31e 100644 --- a/ccc/calcfunctions.py +++ b/ccc/calcfunctions.py @@ -25,9 +25,10 @@ def update_depr_methods(df, p, dp): # update tax_deprec_rates based on user defined parameters # create dataframe with depreciation policy parameters deprec_df = pd.DataFrame(dp.asset) + print("deprec_df", deprec_df.head()) # split out value into two columns - deprec_df = pd.concat([deprec_df.drop(['value'], axis=1), - deprec_df['value'].apply(pd.Series)], axis=1) + deprec_df = deprec_df.join(pd.DataFrame(deprec_df.pop('value').values.tolist())) + print("deprec_df 2", deprec_df.head()) # drop information duplicated in asset dataframe deprec_df.drop(columns=['asset_name', 'minor_asset_group', 'major_asset_group'], inplace=True) From 7735b9f0e8db2695f4bed88b33e9c0000e7b0042 Mon Sep 17 00:00:00 2001 From: jdebacker Date: Tue, 5 Sep 2023 13:02:11 -0400 Subject: [PATCH 3/7] fix error with bubble plot toolbar --- ccc/calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccc/calculator.py b/ccc/calculator.py index 074b7bd9..61316fff 100644 --- a/ccc/calculator.py +++ b/ccc/calculator.py @@ -1345,7 +1345,7 @@ def bubble_widget(self, calc, output_variable='mettr', # p_legend.add_layout(l1) p_legend.axis.visible = False p_legend.grid.grid_line_color = None - p_legend.toolbar.active_drag = None + # p_legend.toolbar.active_drag = None # data_sources['equip_plot'] = p From c3eb2318b5b4489c1dc0a69289aeaa0f6362aecb Mon Sep 17 00:00:00 2001 From: jdebacker Date: Tue, 5 Sep 2023 13:03:53 -0400 Subject: [PATCH 4/7] jb changeS --- docs/book/_config.yml | 4 +++- docs/book/content/api/data.rst | 27 ++++++++++++++++++--------- 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/docs/book/_config.yml b/docs/book/_config.yml index 8cf61792..07176b23 100644 --- a/docs/book/_config.yml +++ b/docs/book/_config.yml @@ -49,8 +49,10 @@ repository: sphinx: extra_extensions : ['sphinx.ext.autodoc', 'sphinx.ext.mathjax', 'sphinx.ext.viewcode', 'sphinx.ext.napoleon', - 'alabaster'] # A list of extra extensions to load by Sphinx. + 'alabaster', 'sphinx.ext.autosummary'] # A list of extra extensions to load by Sphinx. config : # key-value pairs to directly over-ride the Sphinx configuration + autosummary_generate: True + #################################################### # LaTeX information diff --git a/docs/book/content/api/data.rst b/docs/book/content/api/data.rst index 3d18bd12..4aca5349 100644 --- a/docs/book/content/api/data.rst +++ b/docs/book/content/api/data.rst @@ -1,14 +1,23 @@ -.. _data: +data +==== -Data -====================================== +.. automodule:: data -**data** + + + + + + + + + + + + + + + -ccc.data ------------------------------------------- -.. currentmodule:: ccc.data -.. autoclass:: Assets - :members: data_year, array_length, read_var_info, _read_data From 2b37075e6a0d6c55b989addd8c6079fdd151afae Mon Sep 17 00:00:00 2001 From: jdebacker Date: Tue, 5 Sep 2023 13:09:24 -0400 Subject: [PATCH 5/7] update data rst file --- docs/book/content/api/data.rst | 40 +++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/docs/book/content/api/data.rst b/docs/book/content/api/data.rst index 4aca5349..19b8364c 100644 --- a/docs/book/content/api/data.rst +++ b/docs/book/content/api/data.rst @@ -1,23 +1,33 @@ -data -==== +.. _data: + +Cost of Capital Calculator +====================================== + +**data** + +ccc.data +------------------------------------------ + +.. currentmodule:: ccc.data + +.. autoclass:: Assets + :members: _read_data + + + + + + + + + + + -.. automodule:: data - - - - - - - - - - - - From fa9a760e43996adcd636c6affd31d209f6ee9d8a Mon Sep 17 00:00:00 2001 From: jdebacker Date: Tue, 5 Sep 2023 13:44:43 -0400 Subject: [PATCH 6/7] remove capture from notebook example --- docs/book/content/examples/PSL_demo.ipynb | 1587 +++++++++++++++------ 1 file changed, 1135 insertions(+), 452 deletions(-) diff --git a/docs/book/content/examples/PSL_demo.ipynb b/docs/book/content/examples/PSL_demo.ipynb index cc22e759..2ca4ff2b 100644 --- a/docs/book/content/examples/PSL_demo.ipynb +++ b/docs/book/content/examples/PSL_demo.ipynb @@ -20,28 +20,66 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 5, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Requirement already satisfied: cost-of-capital-calculator in /Users/jason.debacker/repos/CCC (1.2.11)\n", + "Requirement already satisfied: taxcalc in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from cost-of-capital-calculator) (3.4.1)\n", + "Requirement already satisfied: psutil in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from cost-of-capital-calculator) (5.9.5)\n", + "Requirement already satisfied: pandas in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from cost-of-capital-calculator) (2.1.0)\n", + "Requirement already satisfied: bokeh in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from cost-of-capital-calculator) (3.2.2)\n", + "Requirement already satisfied: numpy in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from cost-of-capital-calculator) (1.24.4)\n", + "Requirement already satisfied: paramtools in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from cost-of-capital-calculator) (0.0.0)\n", + "Requirement already satisfied: Jinja2>=2.9 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from bokeh->cost-of-capital-calculator) (3.1.2)\n", + "Requirement already satisfied: contourpy>=1 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from bokeh->cost-of-capital-calculator) (1.1.0)\n", + "Requirement already satisfied: packaging>=16.8 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from bokeh->cost-of-capital-calculator) (23.1)\n", + "Requirement already satisfied: pillow>=7.1.0 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from bokeh->cost-of-capital-calculator) (10.0.0)\n", + "Requirement already satisfied: PyYAML>=3.10 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/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.11/site-packages (from bokeh->cost-of-capital-calculator) (6.3.3)\n", + "Requirement already satisfied: xyzservices>=2021.09.1 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from bokeh->cost-of-capital-calculator) (2023.7.0)\n", + "Requirement already satisfied: python-dateutil>=2.8.2 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from pandas->cost-of-capital-calculator) (2.8.2)\n", + "Requirement already satisfied: pytz>=2020.1 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from pandas->cost-of-capital-calculator) (2023.3)\n", + "Requirement already satisfied: tzdata>=2022.1 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/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.11/site-packages (from paramtools->cost-of-capital-calculator) (3.20.1)\n", + "Requirement already satisfied: fsspec in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from paramtools->cost-of-capital-calculator) (2023.9.0)\n", + "Requirement already satisfied: sortedcontainers in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from paramtools->cost-of-capital-calculator) (2.4.0)\n", + "Requirement already satisfied: setuptools in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from taxcalc->cost-of-capital-calculator) (68.1.2)\n", + "Requirement already satisfied: numba in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from taxcalc->cost-of-capital-calculator) (0.57.1)\n", + "Requirement already satisfied: MarkupSafe>=2.0 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/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.11/site-packages (from python-dateutil>=2.8.2->pandas->cost-of-capital-calculator) (1.16.0)\n", + "Requirement already satisfied: llvmlite<0.41,>=0.40.0dev0 in /Users/jason.debacker/anaconda3/envs/ccc-dev/lib/python3.11/site-packages (from numba->taxcalc->cost-of-capital-calculator) (0.40.1)\n" + ] + } + ], "source": [ "# To install ccc package (if not already):\n", - "%% capture\n", "!pip install cost-of-capital-calculator" ] }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 6, "metadata": {}, "outputs": [ { "data": { "text/html": [ - "\n", - "
\n", - " \n", - " Loading BokehJS ...\n", - "
" + "\n", + "
\n", + " \n", + " Loading BokehJS ...\n", + "
\n" ] }, "metadata": {}, @@ -49,7 +87,7 @@ }, { "data": { - "application/javascript": "\n(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\n const 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\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(\"1002\");\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\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 \n const js_urls = [\"https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-gl-2.4.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.4.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-tables-2.4.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-2.4.2.min.js\"];\n const css_urls = [];\n \n\n const inline_js = [\n function(Bokeh) {\n Bokeh.set_log_level(\"info\");\n },\n function(Bokeh) {\n \n \n }\n ];\n\n function run_inline_js() {\n \n if (root.Bokeh !== undefined || force === true) {\n \n for (let i = 0; i < inline_js.length; i++) {\n inline_js[i].call(root, root.Bokeh);\n }\n if (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(\"1002\")).parents('.cell').data().cell;\n cell.output_area.append_execute_result(NB_LOAD_WARNING)\n }\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 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(\"f2d654c3-2cb4-472d-bcc4-fd3f592c4567\");\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(\"f2d654c3-2cb4-472d-bcc4-fd3f592c4567\")).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": {}, @@ -81,7 +119,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 7, "metadata": {}, "outputs": [ { @@ -236,7 +274,7 @@ "4 Aerospace products and parts manufacturing 0.22 " ] }, - "execution_count": 2, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } @@ -265,7 +303,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 8, "metadata": {}, "outputs": [ { @@ -275,16 +313,16 @@ "Calculator initial year = 2014\n", "Calculator year = 2022\n", "year: 2022\n", - "{'tau_pt': array([0.20291415]), 'tau_div': array([0.17179479]), 'tau_int': array([0.31126241]), 'tau_scg': array([0.2836037]), 'tau_lcg': array([0.18346882]), 'tau_td': array([0.20469421]), 'tau_h': array([0.03877468])}\n" + "{'tau_pt': array([0.20504301]), 'tau_div': array([0.17599343]), 'tau_int': array([0.31391843]), 'tau_scg': array([0.29663216]), 'tau_lcg': array([0.19356956]), 'tau_td': array([0.20818695]), 'tau_h': array([0.04203461])}\n" ] }, { "data": { "text/plain": [ - "{'c': array([0.21]), 'pt': array([0.20291415])}" + "{'c': array([0.21]), 'pt': array([0.20504301])}" ] }, - "execution_count": 3, + "execution_count": 8, "metadata": {}, "output_type": "execute_result" } @@ -299,7 +337,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 9, "metadata": {}, "outputs": [ { @@ -316,7 +354,7 @@ " ('year', 2020)])" ] }, - "execution_count": 4, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } @@ -341,7 +379,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 10, "metadata": {}, "outputs": [], "source": [ @@ -360,7 +398,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 11, "metadata": {}, "outputs": [ { @@ -531,7 +569,7 @@ "18 Other services, except government 0.343467 0.656533" ] }, - "execution_count": 6, + "execution_count": 11, "metadata": {}, "output_type": "execute_result" } @@ -554,7 +592,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 12, "metadata": {}, "outputs": [], "source": [ @@ -577,9 +615,67 @@ }, { "cell_type": "code", - "execution_count": 8, + "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": [ @@ -611,51 +707,51 @@ " \n", " 0\n", " Overall\n", - " 17.385422\n", - " 25.403326\n", - " 8.017904\n", + " 17.639885\n", + " 25.524466\n", + " 7.884581\n", " \n", " \n", " 1\n", " Corporations\n", - " 17.428895\n", - " 28.035541\n", - " 10.606646\n", + " 17.755445\n", + " 28.320144\n", + " 10.564699\n", " \n", " \n", " 2\n", " Equity Financed\n", - " 20.321015\n", - " 34.294894\n", - " 13.973878\n", + " 20.651947\n", + " 34.567787\n", + " 13.915840\n", " \n", " \n", " 3\n", " Debt Financed\n", - " 6.660793\n", - " -2.327833\n", - " -8.988626\n", + " 6.970612\n", + " -1.988179\n", + " -8.958791\n", " \n", " \n", " 4\n", " Pass-Through Entities\n", - " 18.812173\n", - " 23.397810\n", - " 4.585637\n", + " 19.007441\n", + " 23.318798\n", + " 4.311357\n", " \n", " \n", " 5\n", " Equity Financed\n", - " 17.178244\n", - " 23.098247\n", - " 5.920003\n", + " 17.366140\n", + " 22.788235\n", + " 5.422095\n", " \n", " \n", " 6\n", " Debt Financed\n", - " 25.163912\n", - " 24.787343\n", - " -0.376569\n", + " 25.389258\n", + " 25.628631\n", + " 0.239374\n", " \n", " \n", "\n", @@ -672,34 +768,34 @@ "6 Debt Financed \n", "\n", " Marginal Effective Total Tax Rate Under Baseline Policy \\\n", - "0 17.385422 \n", - "1 17.428895 \n", - "2 20.321015 \n", - "3 6.660793 \n", - "4 18.812173 \n", - "5 17.178244 \n", - "6 25.163912 \n", + "0 17.639885 \n", + "1 17.755445 \n", + "2 20.651947 \n", + "3 6.970612 \n", + "4 19.007441 \n", + "5 17.366140 \n", + "6 25.389258 \n", "\n", " Marginal Effective Total Tax Rate Under Reform Policy \\\n", - "0 25.403326 \n", - "1 28.035541 \n", - "2 34.294894 \n", - "3 -2.327833 \n", - "4 23.397810 \n", - "5 23.098247 \n", - "6 24.787343 \n", + "0 25.524466 \n", + "1 28.320144 \n", + "2 34.567787 \n", + "3 -1.988179 \n", + "4 23.318798 \n", + "5 22.788235 \n", + "6 25.628631 \n", "\n", " Change from Baseline (pp) \n", - "0 8.017904 \n", - "1 10.606646 \n", - "2 13.973878 \n", - "3 -8.988626 \n", - "4 4.585637 \n", - "5 5.920003 \n", - "6 -0.376569 " + "0 7.884581 \n", + "1 10.564699 \n", + "2 13.915840 \n", + "3 -8.958791 \n", + "4 4.311357 \n", + "5 5.422095 \n", + "6 0.239374 " ] }, - "execution_count": 8, + "execution_count": 13, "metadata": {}, "output_type": "execute_result" } @@ -718,9 +814,67 @@ }, { "cell_type": "code", - "execution_count": 9, + "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": [ @@ -752,9 +906,9 @@ " \n", " 0\n", " Overall\n", - " 5.656019\n", - " 6.263947\n", - " 0.607928\n", + " 5.651057\n", + " 6.249323\n", + " 0.598266\n", " \n", " \n", " 1\n", @@ -780,23 +934,23 @@ " \n", " 4\n", " Pass-Through Entities\n", - " 5.652469\n", - " 5.990843\n", - " 0.338374\n", + " 5.641592\n", + " 5.958787\n", + " 0.317195\n", " \n", " \n", " 5\n", " Equity Financed\n", - " 6.321854\n", - " 6.808519\n", - " 0.486665\n", + " 6.309913\n", + " 6.753018\n", + " 0.443105\n", " \n", " \n", " 6\n", " Debt Financed\n", - " 4.016359\n", - " 3.996250\n", - " -0.020109\n", + " 4.008120\n", + " 4.021020\n", + " 0.012901\n", " \n", " \n", "\n", @@ -804,25 +958,25 @@ ], "text/plain": [ " Cost of Capital Under Baseline Policy \\\n", - "0 Overall 5.656019 \n", + "0 Overall 5.651057 \n", "1 Corporations 5.658997 \n", "2 Equity Financed 6.571207 \n", "3 Debt Financed 3.723999 \n", - "4 Pass-Through Entities 5.652469 \n", - "5 Equity Financed 6.321854 \n", - "6 Debt Financed 4.016359 \n", + "4 Pass-Through Entities 5.641592 \n", + "5 Equity Financed 6.309913 \n", + "6 Debt Financed 4.008120 \n", "\n", " Cost of Capital Under Reform Policy Change from Baseline (pp) \n", - "0 6.263947 0.607928 \n", + "0 6.249323 0.598266 \n", "1 6.493061 0.834064 \n", "2 7.968742 1.397536 \n", "3 3.396877 -0.327121 \n", - "4 5.990843 0.338374 \n", - "5 6.808519 0.486665 \n", - "6 3.996250 -0.020109 " + "4 5.958787 0.317195 \n", + "5 6.753018 0.443105 \n", + "6 4.021020 0.012901 " ] }, - "execution_count": 9, + "execution_count": 14, "metadata": {}, "output_type": "execute_result" } @@ -841,9 +995,68 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 15, "metadata": {}, - "outputs": [], + "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" + ] + } + ], "source": [ "# Save these results to disk\n", "calc1.summary_table(calc2, output_variable='rho', output_type='excel', path='cc_table.xlsx')" @@ -858,9 +1071,67 @@ }, { "cell_type": "code", - "execution_count": 11, + "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": [ @@ -892,93 +1163,93 @@ " \n", " 0\n", " Overall\n", - " 17.385422\n", - " 25.403326\n", - " 8.017904\n", + " 17.639885\n", + " 25.524466\n", + " 7.884581\n", " \n", " \n", " 1\n", " Corporate\n", - " 17.428895\n", - " 28.035541\n", - " 10.606646\n", + " 17.755445\n", + " 28.320144\n", + " 10.564699\n", " \n", " \n", " 2\n", " Equipment\n", - " 6.378304\n", - " 22.198307\n", - " 15.820003\n", + " 6.748557\n", + " 22.505995\n", + " 15.757439\n", " \n", " \n", " 3\n", " Structures\n", - " 18.079919\n", - " 27.585133\n", - " 9.505214\n", + " 18.403895\n", + " 27.871517\n", + " 9.467623\n", " \n", " \n", " 4\n", " Intellectual Property\n", - " 6.378304\n", - " 10.914820\n", - " 4.536516\n", + " 6.748557\n", + " 11.267132\n", + " 4.518575\n", " \n", " \n", " 5\n", " Inventories\n", - " 28.943514\n", - " 39.720019\n", - " 10.776504\n", + " 29.224527\n", + " 39.958412\n", + " 10.733886\n", " \n", " \n", " 6\n", " Land\n", - " 26.038860\n", - " 35.629608\n", - " 9.590748\n", + " 26.331360\n", + " 35.884178\n", + " 9.552818\n", " \n", " \n", " 7\n", " Pass-through\n", - " 18.812173\n", - " 23.397810\n", - " 4.585637\n", + " 19.007441\n", + " 23.318798\n", + " 4.311357\n", " \n", " \n", " 8\n", " Equipment\n", - " 1.948677\n", - " 14.897821\n", - " 12.949144\n", + " 1.961381\n", + " 15.050433\n", + " 13.089052\n", " \n", " \n", " 9\n", " Structures\n", - " 17.439967\n", - " 21.502642\n", - " 4.062675\n", + " 17.622599\n", + " 21.473278\n", + " 3.850679\n", " \n", " \n", " 10\n", " Intellectual Property\n", - " 1.948677\n", - " 6.085711\n", - " 4.137034\n", + " 1.961381\n", + " 6.536701\n", + " 4.575320\n", " \n", " \n", " 11\n", " Inventories\n", - " 25.029232\n", - " 29.369039\n", - " 4.339807\n", + " 25.284934\n", + " 29.145909\n", + " 3.860975\n", " \n", " \n", " 12\n", " Land\n", - " 21.844677\n", - " 25.670063\n", - " 3.825386\n", + " 22.063514\n", + " 25.536828\n", + " 3.473313\n", " \n", " \n", "\n", @@ -1001,52 +1272,52 @@ "12 Land \n", "\n", " Marginal Effective Total Tax Rate Under Baseline Policy \\\n", - "0 17.385422 \n", - "1 17.428895 \n", - "2 6.378304 \n", - "3 18.079919 \n", - "4 6.378304 \n", - "5 28.943514 \n", - "6 26.038860 \n", - "7 18.812173 \n", - "8 1.948677 \n", - "9 17.439967 \n", - "10 1.948677 \n", - "11 25.029232 \n", - "12 21.844677 \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", "\n", " Marginal Effective Total Tax Rate Under Reform Policy \\\n", - "0 25.403326 \n", - "1 28.035541 \n", - "2 22.198307 \n", - "3 27.585133 \n", - "4 10.914820 \n", - "5 39.720019 \n", - "6 35.629608 \n", - "7 23.397810 \n", - "8 14.897821 \n", - "9 21.502642 \n", - "10 6.085711 \n", - "11 29.369039 \n", - "12 25.670063 \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", "\n", " Change from Baseline (pp) \n", - "0 8.017904 \n", - "1 10.606646 \n", - "2 15.820003 \n", - "3 9.505214 \n", - "4 4.536516 \n", - "5 10.776504 \n", - "6 9.590748 \n", - "7 4.585637 \n", - "8 12.949144 \n", - "9 4.062675 \n", - "10 4.137034 \n", - "11 4.339807 \n", - "12 3.825386 " + "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 " ] }, - "execution_count": 11, + "execution_count": 16, "metadata": {}, "output_type": "execute_result" } @@ -1058,9 +1329,67 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 17, "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": [ @@ -1092,289 +1421,289 @@ " \n", " 0\n", " Overall\n", - " 17.385422\n", - " 25.403326\n", - " 8.017904\n", + " 17.639885\n", + " 25.524466\n", + " 7.884581\n", " \n", " \n", " 1\n", " Corporate\n", - " 17.428895\n", - " 28.035541\n", - " 10.606646\n", + " 17.755445\n", + " 28.320144\n", + " 10.564699\n", " \n", " \n", " 2\n", " Agriculture, forestry, fishing, and hunting\n", - " 18.298771\n", - " 30.621670\n", - " 12.322899\n", + " 18.621881\n", + " 30.896046\n", + " 12.274165\n", " \n", " \n", " 3\n", " Mining\n", - " 9.355980\n", - " 17.646210\n", - " 8.290230\n", + " 9.714456\n", + " 17.971900\n", + " 8.257444\n", " \n", " \n", " 4\n", " Utilities\n", - " 7.403845\n", - " 19.798819\n", - " 12.394974\n", + " 7.770042\n", + " 20.115997\n", + " 12.345955\n", " \n", " \n", " 5\n", " Construction\n", - " 18.838676\n", - " 30.349240\n", - " 11.510564\n", + " 19.159651\n", + " 30.624693\n", + " 11.465042\n", " \n", " \n", " 6\n", " Manufacturing\n", - " 17.725594\n", - " 26.830751\n", - " 9.105157\n", + " 18.050971\n", + " 27.120119\n", + " 9.069148\n", " \n", " \n", " 7\n", " Wholesale trade\n", - " 23.188460\n", - " 34.273842\n", - " 11.085383\n", + " 23.492232\n", + " 34.533774\n", + " 11.041542\n", " \n", " \n", " 8\n", " Retail trade\n", - " 24.179499\n", - " 34.690033\n", - " 10.510534\n", + " 24.479352\n", + " 34.948319\n", + " 10.468967\n", " \n", " \n", " 9\n", " Transportation and warehousing\n", - " 10.639291\n", - " 20.393471\n", - " 9.754180\n", + " 10.992693\n", + " 20.708297\n", + " 9.715604\n", " \n", " \n", " 10\n", " Information\n", - " 10.034240\n", - " 24.539591\n", - " 14.505351\n", + " 10.390034\n", + " 24.838020\n", + " 14.447985\n", " \n", " \n", " 11\n", " Finance and insurance\n", - " 18.373608\n", - " 30.264878\n", - " 11.891270\n", + " 18.696422\n", + " 30.540664\n", + " 11.844242\n", " \n", " \n", " 12\n", " Real estate and rental and leasing\n", - " 24.087083\n", - " 33.721519\n", - " 9.634436\n", + " 24.387301\n", + " 33.983636\n", + " 9.596334\n", " \n", " \n", " 13\n", " Professional, scientific, and technical ser...\n", - " 14.266593\n", - " 25.403173\n", - " 11.136579\n", + " 14.605649\n", + " 25.698186\n", + " 11.092537\n", " \n", " \n", " 14\n", " Management of companies and enterprises\n", - " 22.177149\n", - " 32.248505\n", - " 10.071355\n", + " 22.484921\n", + " 32.516446\n", + " 10.031525\n", " \n", " \n", " 15\n", " Administrative and waste management services\n", - " 13.969707\n", - " 26.515287\n", - " 12.545580\n", + " 14.309938\n", + " 26.805903\n", + " 12.495965\n", " \n", " \n", " 16\n", " Educational services\n", - " 22.179268\n", - " 31.613808\n", - " 9.434540\n", + " 22.487031\n", + " 31.884260\n", + " 9.397229\n", " \n", " \n", " 17\n", " Health care and social assistance\n", - " 20.317482\n", - " 30.832650\n", - " 10.515168\n", + " 20.632608\n", + " 31.106191\n", + " 10.473583\n", " \n", " \n", " 18\n", " Arts, entertainment, and recreation\n", - " 15.213585\n", - " 26.326474\n", - " 11.112889\n", + " 15.548896\n", + " 26.617836\n", + " 11.068940\n", " \n", " \n", " 19\n", " Accommodation and food services\n", - " 23.766349\n", - " 34.095181\n", - " 10.328832\n", + " 24.067836\n", + " 34.355820\n", + " 10.287984\n", " \n", " \n", " 20\n", " Other services, except government\n", - " 20.522378\n", - " 29.799384\n", - " 9.277005\n", + " 20.836695\n", + " 30.077012\n", + " 9.240317\n", " \n", " \n", " 21\n", " Pass-through\n", - " 18.812173\n", - " 23.397810\n", - " 4.585637\n", + " 19.007441\n", + " 23.318798\n", + " 4.311357\n", " \n", " \n", " 22\n", " Agriculture, forestry, fishing, and hunting\n", - " 15.876157\n", - " 22.523466\n", - " 6.647308\n", + " 16.047848\n", + " 22.465303\n", + " 6.417456\n", " \n", " \n", " 23\n", " Mining\n", - " 5.274190\n", - " 11.663757\n", - " 6.389567\n", + " 5.329731\n", + " 11.922444\n", + " 6.592713\n", " \n", " \n", " 24\n", " Utilities\n", - " 3.285505\n", - " 13.167828\n", - " 9.882323\n", + " 3.315756\n", + " 13.381097\n", + " 10.065342\n", " \n", " \n", " 25\n", " Construction\n", - " 16.084501\n", - " 22.106145\n", - " 6.021644\n", + " 16.256425\n", + " 22.058650\n", + " 5.802225\n", " \n", " \n", " 26\n", " Manufacturing\n", - " 14.207660\n", - " 19.167293\n", - " 4.959633\n", + " 14.365716\n", + " 19.196170\n", + " 4.830454\n", " \n", " \n", " 27\n", " Wholesale trade\n", - " 21.047185\n", - " 26.159069\n", - " 5.111883\n", + " 21.269469\n", + " 26.008485\n", + " 4.739016\n", " \n", " \n", " 28\n", " Retail trade\n", - " 21.275141\n", - " 26.050928\n", - " 4.775787\n", + " 21.496969\n", + " 25.904160\n", + " 4.407191\n", " \n", " \n", " 29\n", " Transportation and warehousing\n", - " 6.820432\n", - " 14.128465\n", - " 7.308033\n", + " 6.894412\n", + " 14.309383\n", + " 7.414971\n", " \n", " \n", " 30\n", " Information\n", - " 5.985239\n", - " 17.050742\n", - " 11.065503\n", + " 6.049526\n", + " 17.143644\n", + " 11.094117\n", " \n", " \n", " 31\n", " Finance and insurance\n", - " 18.248503\n", - " 23.618762\n", - " 5.370259\n", + " 18.440433\n", + " 23.532485\n", + " 5.092051\n", " \n", " \n", " 32\n", " Real estate and rental and leasing\n", - " 20.871296\n", - " 24.725673\n", - " 3.854377\n", + " 21.082232\n", + " 24.615095\n", + " 3.532863\n", " \n", " \n", " 33\n", " Professional, scientific, and technical ser...\n", - " 9.972917\n", - " 17.301080\n", - " 7.328162\n", + " 10.083509\n", + " 17.383227\n", + " 7.299718\n", " \n", " \n", " 34\n", " Management of companies and enterprises\n", - " 17.913126\n", - " 22.858351\n", - " 4.945225\n", + " 18.102279\n", + " 22.791069\n", + " 4.688790\n", " \n", " \n", " 35\n", " Administrative and waste management services\n", - " 9.605741\n", - " 18.203833\n", - " 8.598093\n", + " 9.711826\n", + " 18.261459\n", + " 8.549633\n", " \n", " \n", " 36\n", " Educational services\n", - " 17.893937\n", - " 22.297889\n", - " 4.403953\n", + " 18.079977\n", + " 22.247380\n", + " 4.167403\n", " \n", " \n", " 37\n", " Health care and social assistance\n", - " 16.036972\n", - " 21.670206\n", - " 5.633234\n", + " 16.206875\n", + " 21.634895\n", + " 5.428020\n", " \n", " \n", " 38\n", " Arts, entertainment, and recreation\n", - " 10.649402\n", - " 17.958885\n", - " 7.309483\n", + " 10.766382\n", + " 18.025709\n", + " 7.259327\n", " \n", " \n", " 39\n", " Accommodation and food services\n", - " 19.724755\n", - " 24.515138\n", - " 4.790384\n", + " 19.929849\n", + " 24.406857\n", + " 4.477008\n", " \n", " \n", " 40\n", " Other services, except government\n", - " 15.985057\n", - " 20.612279\n", - " 4.627222\n", + " 16.154067\n", + " 20.605809\n", + " 4.451742\n", " \n", " \n", "\n", @@ -1425,136 +1754,136 @@ "40 Other services, except government \n", "\n", " Marginal Effective Total Tax Rate Under Baseline Policy \\\n", - "0 17.385422 \n", - "1 17.428895 \n", - "2 18.298771 \n", - "3 9.355980 \n", - "4 7.403845 \n", - "5 18.838676 \n", - "6 17.725594 \n", - "7 23.188460 \n", - "8 24.179499 \n", - "9 10.639291 \n", - "10 10.034240 \n", - "11 18.373608 \n", - "12 24.087083 \n", - "13 14.266593 \n", - "14 22.177149 \n", - "15 13.969707 \n", - "16 22.179268 \n", - "17 20.317482 \n", - "18 15.213585 \n", - "19 23.766349 \n", - "20 20.522378 \n", - "21 18.812173 \n", - "22 15.876157 \n", - "23 5.274190 \n", - "24 3.285505 \n", - "25 16.084501 \n", - "26 14.207660 \n", - "27 21.047185 \n", - "28 21.275141 \n", - "29 6.820432 \n", - "30 5.985239 \n", - "31 18.248503 \n", - "32 20.871296 \n", - "33 9.972917 \n", - "34 17.913126 \n", - "35 9.605741 \n", - "36 17.893937 \n", - "37 16.036972 \n", - "38 10.649402 \n", - "39 19.724755 \n", - "40 15.985057 \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", "\n", " Marginal Effective Total Tax Rate Under Reform Policy \\\n", - "0 25.403326 \n", - "1 28.035541 \n", - "2 30.621670 \n", - "3 17.646210 \n", - "4 19.798819 \n", - "5 30.349240 \n", - "6 26.830751 \n", - "7 34.273842 \n", - "8 34.690033 \n", - "9 20.393471 \n", - "10 24.539591 \n", - "11 30.264878 \n", - "12 33.721519 \n", - "13 25.403173 \n", - "14 32.248505 \n", - "15 26.515287 \n", - "16 31.613808 \n", - "17 30.832650 \n", - "18 26.326474 \n", - "19 34.095181 \n", - "20 29.799384 \n", - "21 23.397810 \n", - "22 22.523466 \n", - "23 11.663757 \n", - "24 13.167828 \n", - "25 22.106145 \n", - "26 19.167293 \n", - "27 26.159069 \n", - "28 26.050928 \n", - "29 14.128465 \n", - "30 17.050742 \n", - "31 23.618762 \n", - "32 24.725673 \n", - "33 17.301080 \n", - "34 22.858351 \n", - "35 18.203833 \n", - "36 22.297889 \n", - "37 21.670206 \n", - "38 17.958885 \n", - "39 24.515138 \n", - "40 20.612279 \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", "\n", " Change from Baseline (pp) \n", - "0 8.017904 \n", - "1 10.606646 \n", - "2 12.322899 \n", - "3 8.290230 \n", - "4 12.394974 \n", - "5 11.510564 \n", - "6 9.105157 \n", - "7 11.085383 \n", - "8 10.510534 \n", - "9 9.754180 \n", - "10 14.505351 \n", - "11 11.891270 \n", - "12 9.634436 \n", - "13 11.136579 \n", - "14 10.071355 \n", - "15 12.545580 \n", - "16 9.434540 \n", - "17 10.515168 \n", - "18 11.112889 \n", - "19 10.328832 \n", - "20 9.277005 \n", - "21 4.585637 \n", - "22 6.647308 \n", - "23 6.389567 \n", - "24 9.882323 \n", - "25 6.021644 \n", - "26 4.959633 \n", - "27 5.111883 \n", - "28 4.775787 \n", - "29 7.308033 \n", - "30 11.065503 \n", - "31 5.370259 \n", - "32 3.854377 \n", - "33 7.328162 \n", - "34 4.945225 \n", - "35 8.598093 \n", - "36 4.403953 \n", - "37 5.633234 \n", - "38 7.309483 \n", - "39 4.790384 \n", - "40 4.627222 " + "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 " ] }, - "execution_count": 12, + "execution_count": 17, "metadata": {}, "output_type": "execute_result" } @@ -1577,19 +1906,72 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 18, "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", - "\n", - "\n", - "\n", - "
\n" + "
\n" ] }, "metadata": {}, @@ -1597,12 +1979,12 @@ }, { "data": { - "application/javascript": "(function(root) {\n function embed_document(root) {\n \n const docs_json = {\"43c72506-edaa-452c-be56-e0d4290da470\":{\"defs\":[],\"roots\":{\"references\":[{\"attributes\":{\"below\":[{\"id\":\"1014\"}],\"center\":[{\"id\":\"1016\"},{\"id\":\"1020\"},{\"id\":\"1038\"}],\"height\":350,\"left\":[{\"id\":\"1017\"}],\"renderers\":[{\"id\":\"1027\"},{\"id\":\"1045\"},{\"id\":\"1057\"},{\"id\":\"1058\"}],\"title\":null,\"toolbar\":{\"id\":\"1021\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"1006\"},\"x_scale\":{\"id\":\"1010\"},\"y_range\":{\"id\":\"1008\"},\"y_scale\":{\"id\":\"1012\"}},\"id\":\"1004\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.2},\"fill_color\":{\"value\":\"#e84d60\"},\"hatch_alpha\":{\"value\":0.2},\"hatch_color\":{\"value\":\"#e84d60\"},\"line_alpha\":{\"value\":0.2},\"line_color\":{\"value\":\"#e84d60\"},\"top\":{\"field\":\"Reform\"},\"width\":{\"value\":0.2},\"x\":{\"field\":\"major_asset_group\",\"transform\":{\"id\":\"1040\"}}},\"id\":\"1044\",\"type\":\"VBar\"},{\"attributes\":{},\"id\":\"1031\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"label\":{\"value\":\"Reform\"},\"renderers\":[{\"id\":\"1045\"}]},\"id\":\"1056\",\"type\":\"LegendItem\"},{\"attributes\":{\"axis\":{\"id\":\"1017\"},\"coordinates\":null,\"dimension\":1,\"group\":null,\"ticker\":null},\"id\":\"1020\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"1010\",\"type\":\"CategoricalScale\"},{\"attributes\":{},\"id\":\"1032\",\"type\":\"AllLabels\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#e84d60\"},\"hatch_alpha\":{\"value\":0.1},\"hatch_color\":{\"value\":\"#e84d60\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#e84d60\"},\"top\":{\"field\":\"Reform\"},\"width\":{\"value\":0.2},\"x\":{\"field\":\"major_asset_group\",\"transform\":{\"id\":\"1040\"}}},\"id\":\"1043\",\"type\":\"VBar\"},{\"attributes\":{\"coordinates\":null,\"formatter\":{\"id\":\"1034\"},\"group\":null,\"major_label_policy\":{\"id\":\"1035\"},\"ticker\":{\"id\":\"1015\"}},\"id\":\"1014\",\"type\":\"CategoricalAxis\"},{\"attributes\":{},\"id\":\"1021\",\"type\":\"Toolbar\"},{\"attributes\":{},\"id\":\"1008\",\"type\":\"DataRange1d\"},{\"attributes\":{\"data\":{\"Baseline\":{\"__ndarray__\":\"Qx1g0hVUsD9DHWDSFVSwP2cFmfoahtI/vS4m8zSq0D/bfyaKbSTHPw==\",\"dtype\":\"float64\",\"order\":\"little\",\"shape\":[5]},\"Reform\":{\"__ndarray__\":\"JqUpbRARzT9vHGd+22+9P2I/HW94rNk/urSr07AS1z/mA1HyUvXRPw==\",\"dtype\":\"float64\",\"order\":\"little\",\"shape\":[5]},\"index\":[0,1,2,3,4],\"major_asset_group\":[\"Equipment\",\"Intellectual Property\",\"Inventories\",\"Land\",\"Structures\"]},\"selected\":{\"id\":\"1037\"},\"selection_policy\":{\"id\":\"1036\"}},\"id\":\"1003\",\"type\":\"ColumnDataSource\"},{\"attributes\":{},\"id\":\"1035\",\"type\":\"AllLabels\"},{\"attributes\":{\"label\":{\"value\":\"Baseline\"},\"renderers\":[{\"id\":\"1027\"}]},\"id\":\"1039\",\"type\":\"LegendItem\"},{\"attributes\":{},\"id\":\"1012\",\"type\":\"LinearScale\"},{\"attributes\":{\"coordinates\":null,\"group\":null,\"line_alpha\":0.2,\"line_color\":\"#718dbf\",\"line_dash\":[6],\"line_width\":2,\"location\":0.17428894800227407},\"id\":\"1057\",\"type\":\"Span\"},{\"attributes\":{\"coordinates\":null,\"data_source\":{\"id\":\"1003\"},\"glyph\":{\"id\":\"1042\"},\"group\":null,\"hover_glyph\":null,\"muted_glyph\":{\"id\":\"1044\"},\"nonselection_glyph\":{\"id\":\"1043\"},\"view\":{\"id\":\"1046\"}},\"id\":\"1045\",\"type\":\"GlyphRenderer\"},{\"attributes\":{},\"id\":\"1037\",\"type\":\"Selection\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#718dbf\"},\"hatch_alpha\":{\"value\":0.1},\"hatch_color\":{\"value\":\"#718dbf\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#718dbf\"},\"top\":{\"field\":\"Baseline\"},\"width\":{\"value\":0.2},\"x\":{\"field\":\"major_asset_group\",\"transform\":{\"id\":\"1022\"}}},\"id\":\"1025\",\"type\":\"VBar\"},{\"attributes\":{\"axis\":{\"id\":\"1014\"},\"coordinates\":null,\"grid_line_color\":null,\"group\":null,\"ticker\":null},\"id\":\"1016\",\"type\":\"Grid\"},{\"attributes\":{\"coordinates\":null,\"formatter\":{\"id\":\"1031\"},\"group\":null,\"major_label_policy\":{\"id\":\"1032\"},\"ticker\":{\"id\":\"1018\"}},\"id\":\"1017\",\"type\":\"LinearAxis\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.2},\"fill_color\":{\"value\":\"#718dbf\"},\"hatch_alpha\":{\"value\":0.2},\"hatch_color\":{\"value\":\"#718dbf\"},\"line_alpha\":{\"value\":0.2},\"line_color\":{\"value\":\"#718dbf\"},\"top\":{\"field\":\"Baseline\"},\"width\":{\"value\":0.2},\"x\":{\"field\":\"major_asset_group\",\"transform\":{\"id\":\"1022\"}}},\"id\":\"1026\",\"type\":\"VBar\"},{\"attributes\":{\"source\":{\"id\":\"1003\"}},\"id\":\"1046\",\"type\":\"CDSView\"},{\"attributes\":{\"coordinates\":null,\"group\":null,\"items\":[{\"id\":\"1039\"},{\"id\":\"1056\"}],\"location\":\"top_left\",\"orientation\":\"horizontal\"},\"id\":\"1038\",\"type\":\"Legend\"},{\"attributes\":{\"range\":{\"id\":\"1006\"}},\"id\":\"1022\",\"type\":\"Dodge\"},{\"attributes\":{},\"id\":\"1015\",\"type\":\"CategoricalTicker\"},{\"attributes\":{\"range\":{\"id\":\"1006\"},\"value\":0.25},\"id\":\"1040\",\"type\":\"Dodge\"},{\"attributes\":{\"coordinates\":null,\"data_source\":{\"id\":\"1003\"},\"glyph\":{\"id\":\"1024\"},\"group\":null,\"hover_glyph\":null,\"muted_glyph\":{\"id\":\"1026\"},\"nonselection_glyph\":{\"id\":\"1025\"},\"view\":{\"id\":\"1028\"}},\"id\":\"1027\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"coordinates\":null,\"group\":null,\"line_alpha\":0.2,\"line_color\":\"#e84d60\",\"line_dash\":[6],\"line_width\":2,\"location\":0.28507294391464827},\"id\":\"1058\",\"type\":\"Span\"},{\"attributes\":{},\"id\":\"1018\",\"type\":\"BasicTicker\"},{\"attributes\":{\"fill_color\":{\"value\":\"#e84d60\"},\"hatch_color\":{\"value\":\"#e84d60\"},\"line_color\":{\"value\":\"#e84d60\"},\"top\":{\"field\":\"Reform\"},\"width\":{\"value\":0.2},\"x\":{\"field\":\"major_asset_group\",\"transform\":{\"id\":\"1040\"}}},\"id\":\"1042\",\"type\":\"VBar\"},{\"attributes\":{\"source\":{\"id\":\"1003\"}},\"id\":\"1028\",\"type\":\"CDSView\"},{\"attributes\":{},\"id\":\"1034\",\"type\":\"CategoricalTickFormatter\"},{\"attributes\":{},\"id\":\"1036\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"fill_color\":{\"value\":\"#718dbf\"},\"hatch_color\":{\"value\":\"#718dbf\"},\"line_color\":{\"value\":\"#718dbf\"},\"top\":{\"field\":\"Baseline\"},\"width\":{\"value\":0.2},\"x\":{\"field\":\"major_asset_group\",\"transform\":{\"id\":\"1022\"}}},\"id\":\"1024\",\"type\":\"VBar\"},{\"attributes\":{\"factors\":[\"Equipment\",\"Intellectual Property\",\"Inventories\",\"Land\",\"Structures\"],\"range_padding\":0.1},\"id\":\"1006\",\"type\":\"FactorRange\"}],\"root_ids\":[\"1004\"]},\"title\":\"Bokeh Application\",\"version\":\"2.4.2\"}};\n const render_items = [{\"docid\":\"43c72506-edaa-452c-be56-e0d4290da470\",\"root_ids\":[\"1004\"],\"roots\":{\"1004\":\"4d022835-4e3c-4fa5-bcc4-84fbf13971fe\"}}];\n root.Bokeh.embed.embed_items_notebook(docs_json, render_items);\n\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 = {\"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/vnd.bokehjs_exec.v0+json": "" }, "metadata": { "application/vnd.bokehjs_exec.v0+json": { - "id": "1004" + "id": "p1004" } }, "output_type": "display_data" @@ -1623,19 +2005,72 @@ }, { "cell_type": "code", - "execution_count": 14, + "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", + "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", - "\n", - "\n", - "\n", - "
\n" + "
\n" ] }, "metadata": {}, @@ -1643,12 +2078,12 @@ }, { "data": { - "application/javascript": "(function(root) {\n function embed_document(root) {\n \n const docs_json = {\"43f4ded7-5e97-4608-9ee3-4d1be9a60b7b\":{\"defs\":[],\"roots\":{\"references\":[{\"attributes\":{\"below\":[{\"id\":\"1124\"}],\"center\":[{\"id\":\"1126\"},{\"id\":\"1130\"},{\"id\":\"1148\"}],\"height\":800,\"left\":[{\"id\":\"1127\"}],\"renderers\":[{\"id\":\"1137\"},{\"id\":\"1155\"},{\"id\":\"1167\"},{\"id\":\"1168\"}],\"title\":null,\"toolbar\":{\"id\":\"1131\"},\"toolbar_location\":null,\"width\":800,\"x_range\":{\"id\":\"1116\"},\"x_scale\":{\"id\":\"1120\"},\"y_range\":{\"id\":\"1118\"},\"y_scale\":{\"id\":\"1122\"}},\"id\":\"1114\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{},\"id\":\"1122\",\"type\":\"LinearScale\"},{\"attributes\":{\"coordinates\":null,\"group\":null,\"line_alpha\":0.2,\"line_color\":\"#e84d60\",\"line_dash\":[6],\"line_width\":2,\"location\":0.28507294391464827},\"id\":\"1168\",\"type\":\"Span\"},{\"attributes\":{\"range\":{\"id\":\"1116\"},\"value\":0.25},\"id\":\"1150\",\"type\":\"Dodge\"},{\"attributes\":{\"range\":{\"id\":\"1116\"}},\"id\":\"1132\",\"type\":\"Dodge\"},{\"attributes\":{\"coordinates\":null,\"group\":null,\"line_alpha\":0.2,\"line_color\":\"#718dbf\",\"line_dash\":[6],\"line_width\":2,\"location\":0.17428894800227407},\"id\":\"1167\",\"type\":\"Span\"},{\"attributes\":{},\"id\":\"1131\",\"type\":\"Toolbar\"},{\"attributes\":{},\"id\":\"1125\",\"type\":\"CategoricalTicker\"},{\"attributes\":{\"label\":{\"value\":\"Reform\"},\"renderers\":[{\"id\":\"1155\"}]},\"id\":\"1166\",\"type\":\"LegendItem\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.2},\"fill_color\":{\"value\":\"#718dbf\"},\"hatch_alpha\":{\"value\":0.2},\"hatch_color\":{\"value\":\"#718dbf\"},\"line_alpha\":{\"value\":0.2},\"line_color\":{\"value\":\"#718dbf\"},\"top\":{\"field\":\"Baseline\"},\"width\":{\"value\":0.2},\"x\":{\"field\":\"major_industry\",\"transform\":{\"id\":\"1132\"}}},\"id\":\"1136\",\"type\":\"VBar\"},{\"attributes\":{\"source\":{\"id\":\"1113\"}},\"id\":\"1156\",\"type\":\"CDSView\"},{\"attributes\":{},\"id\":\"1120\",\"type\":\"CategoricalScale\"},{\"attributes\":{\"coordinates\":null,\"formatter\":{\"id\":\"1144\"},\"group\":null,\"major_label_orientation\":45,\"major_label_policy\":{\"id\":\"1145\"},\"ticker\":{\"id\":\"1125\"}},\"id\":\"1124\",\"type\":\"CategoricalAxis\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.2},\"fill_color\":{\"value\":\"#e84d60\"},\"hatch_alpha\":{\"value\":0.2},\"hatch_color\":{\"value\":\"#e84d60\"},\"line_alpha\":{\"value\":0.2},\"line_color\":{\"value\":\"#e84d60\"},\"top\":{\"field\":\"Reform\"},\"width\":{\"value\":0.2},\"x\":{\"field\":\"major_industry\",\"transform\":{\"id\":\"1150\"}}},\"id\":\"1154\",\"type\":\"VBar\"},{\"attributes\":{},\"id\":\"1144\",\"type\":\"CategoricalTickFormatter\"},{\"attributes\":{},\"id\":\"1142\",\"type\":\"AllLabels\"},{\"attributes\":{},\"id\":\"1146\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"label\":{\"value\":\"Baseline\"},\"renderers\":[{\"id\":\"1137\"}]},\"id\":\"1149\",\"type\":\"LegendItem\"},{\"attributes\":{\"coordinates\":null,\"formatter\":{\"id\":\"1141\"},\"group\":null,\"major_label_policy\":{\"id\":\"1142\"},\"ticker\":{\"id\":\"1128\"}},\"id\":\"1127\",\"type\":\"LinearAxis\"},{\"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},\"id\":\"1116\",\"type\":\"FactorRange\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#e84d60\"},\"hatch_alpha\":{\"value\":0.1},\"hatch_color\":{\"value\":\"#e84d60\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#e84d60\"},\"top\":{\"field\":\"Reform\"},\"width\":{\"value\":0.2},\"x\":{\"field\":\"major_industry\",\"transform\":{\"id\":\"1150\"}}},\"id\":\"1153\",\"type\":\"VBar\"},{\"attributes\":{\"source\":{\"id\":\"1113\"}},\"id\":\"1138\",\"type\":\"CDSView\"},{\"attributes\":{\"coordinates\":null,\"group\":null,\"items\":[{\"id\":\"1149\"},{\"id\":\"1166\"}],\"location\":\"top_left\",\"orientation\":\"horizontal\"},\"id\":\"1148\",\"type\":\"Legend\"},{\"attributes\":{},\"id\":\"1128\",\"type\":\"BasicTicker\"},{\"attributes\":{\"axis\":{\"id\":\"1124\"},\"coordinates\":null,\"grid_line_color\":null,\"group\":null,\"ticker\":null},\"id\":\"1126\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"1141\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"axis\":{\"id\":\"1127\"},\"coordinates\":null,\"dimension\":1,\"group\":null,\"ticker\":null},\"id\":\"1130\",\"type\":\"Grid\"},{\"attributes\":{\"fill_color\":{\"value\":\"#718dbf\"},\"hatch_color\":{\"value\":\"#718dbf\"},\"line_color\":{\"value\":\"#718dbf\"},\"top\":{\"field\":\"Baseline\"},\"width\":{\"value\":0.2},\"x\":{\"field\":\"major_industry\",\"transform\":{\"id\":\"1132\"}}},\"id\":\"1134\",\"type\":\"VBar\"},{\"attributes\":{\"coordinates\":null,\"data_source\":{\"id\":\"1113\"},\"glyph\":{\"id\":\"1152\"},\"group\":null,\"hover_glyph\":null,\"muted_glyph\":{\"id\":\"1154\"},\"nonselection_glyph\":{\"id\":\"1153\"},\"view\":{\"id\":\"1156\"}},\"id\":\"1155\",\"type\":\"GlyphRenderer\"},{\"attributes\":{},\"id\":\"1118\",\"type\":\"DataRange1d\"},{\"attributes\":{\"fill_color\":{\"value\":\"#e84d60\"},\"hatch_color\":{\"value\":\"#e84d60\"},\"line_color\":{\"value\":\"#e84d60\"},\"top\":{\"field\":\"Reform\"},\"width\":{\"value\":0.2},\"x\":{\"field\":\"major_industry\",\"transform\":{\"id\":\"1150\"}}},\"id\":\"1152\",\"type\":\"VBar\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#718dbf\"},\"hatch_alpha\":{\"value\":0.1},\"hatch_color\":{\"value\":\"#718dbf\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#718dbf\"},\"top\":{\"field\":\"Baseline\"},\"width\":{\"value\":0.2},\"x\":{\"field\":\"major_industry\",\"transform\":{\"id\":\"1132\"}}},\"id\":\"1135\",\"type\":\"VBar\"},{\"attributes\":{},\"id\":\"1145\",\"type\":\"AllLabels\"},{\"attributes\":{},\"id\":\"1147\",\"type\":\"Selection\"},{\"attributes\":{\"coordinates\":null,\"data_source\":{\"id\":\"1113\"},\"glyph\":{\"id\":\"1134\"},\"group\":null,\"hover_glyph\":null,\"muted_glyph\":{\"id\":\"1136\"},\"nonselection_glyph\":{\"id\":\"1135\"},\"view\":{\"id\":\"1138\"}},\"id\":\"1137\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"data\":{\"Baseline\":{\"__ndarray__\":\"K23128Frzj932Jj4l+HBPxhzJyokbMc/jdAVBTB5wz/w93GyDh3IP4BEVtWzY8w/5phI86mExz+xobDioQHKP0a/exwKsLk/5VtcHgJjzD+ntW6VUrDGPyhZ6eiI87c/dbNn4sVEyj+YjmCT4ELCP5Tz/vTa1M4/SIAPYSPzzj9tlP7mkDy7P1+11hgv9LI/lM6J+WSuzT8=\",\"dtype\":\"float64\",\"order\":\"little\",\"shape\":[19]},\"Reform\":{\"__ndarray__\":\"FYPNNPAY1j+QslWIMEfRPx/a3KOR49M/xJnYCXUo0T/ZPBr+ObfTP5d6iSEOhdQ/1719yH6p0z+LaY3G6AXUP98YiwadBdA/Os95ulzs1D+8smRJiXrRP03uBAw2R8c/1+s8jrpd0z/SkebULJLQPwlkE24e3NU/78bHisJ51j/e/9BQiMXKP+ig0k70A8o/f7+wqwQ21j8=\",\"dtype\":\"float64\",\"order\":\"little\",\"shape\":[19]},\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],\"major_industry\":[\"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\"]},\"selected\":{\"id\":\"1147\"},\"selection_policy\":{\"id\":\"1146\"}},\"id\":\"1113\",\"type\":\"ColumnDataSource\"}],\"root_ids\":[\"1114\"]},\"title\":\"Bokeh Application\",\"version\":\"2.4.2\"}};\n const render_items = [{\"docid\":\"43f4ded7-5e97-4608-9ee3-4d1be9a60b7b\",\"root_ids\":[\"1114\"],\"roots\":{\"1114\":\"5eec7313-025a-495d-a923-5e8b78fd5ed4\"}}];\n root.Bokeh.embed.embed_items_notebook(docs_json, render_items);\n\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 = {\"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/vnd.bokehjs_exec.v0+json": "" }, "metadata": { "application/vnd.bokehjs_exec.v0+json": { - "id": "1114" + "id": "p1057" } }, "output_type": "display_data" @@ -1669,19 +2104,72 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 20, "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", - "\n", - "\n", - "\n", - "
\n" + "
\n" ] }, "metadata": {}, @@ -1689,12 +2177,12 @@ }, { "data": { - "application/javascript": "(function(root) {\n function embed_document(root) {\n \n const docs_json = {\"f9ffa6b6-e04f-448f-891e-a0b7ba90b2fb\":{\"defs\":[],\"roots\":{\"references\":[{\"attributes\":{\"below\":[{\"id\":\"1243\"}],\"center\":[{\"id\":\"1246\"},{\"id\":\"1250\"},{\"id\":\"1260\"},{\"id\":\"1261\"},{\"id\":\"1262\"},{\"id\":\"1282\"}],\"height\":500,\"left\":[{\"id\":\"1247\"}],\"renderers\":[{\"id\":\"1259\"},{\"id\":\"1267\"},{\"id\":\"1273\"},{\"id\":\"1288\"},{\"id\":\"1301\"},{\"id\":\"1314\"},{\"id\":\"1320\"},{\"id\":\"1336\"},{\"id\":\"1351\"}],\"title\":{\"id\":\"1252\"},\"toolbar\":{\"id\":\"1251\"},\"toolbar_location\":null,\"width\":500,\"x_range\":{\"id\":\"1235\"},\"x_scale\":{\"id\":\"1239\"},\"y_range\":{\"id\":\"1237\"},\"y_scale\":{\"id\":\"1241\"}},\"id\":\"1234\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"coordinates\":null,\"data_source\":{\"id\":\"1233\"},\"glyph\":{\"id\":\"1317\"},\"group\":null,\"hover_glyph\":null,\"muted_glyph\":{\"id\":\"1319\"},\"nonselection_glyph\":{\"id\":\"1318\"},\"view\":{\"id\":\"1321\"}},\"id\":\"1320\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"coordinates\":null,\"fill_alpha\":0.2,\"fill_color\":\"white\",\"group\":null,\"right\":0.5},\"id\":\"1260\",\"type\":\"BoxAnnotation\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.2},\"fill_color\":{\"value\":\"#718dbf\"},\"hatch_alpha\":{\"value\":0.2},\"hatch_color\":{\"value\":\"#718dbf\"},\"line_alpha\":{\"value\":0.2},\"line_color\":{\"value\":\"#718dbf\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"means\"}},\"id\":\"1272\",\"type\":\"Circle\"},{\"attributes\":{\"source\":{\"id\":\"1233\"}},\"id\":\"1321\",\"type\":\"CDSView\"},{\"attributes\":{\"coordinates\":null,\"fill_alpha\":0.1,\"fill_color\":\"white\",\"group\":null,\"left\":0.5,\"right\":1.5},\"id\":\"1261\",\"type\":\"BoxAnnotation\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#718dbf\"},\"hatch_alpha\":{\"value\":0.1},\"hatch_color\":{\"value\":\"#718dbf\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#718dbf\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"means\"}},\"id\":\"1271\",\"type\":\"Circle\"},{\"attributes\":{\"format\":\"0%\"},\"id\":\"1257\",\"type\":\"NumeralTickFormatter\"},{\"attributes\":{},\"id\":\"1241\",\"type\":\"LinearScale\"},{\"attributes\":{\"source\":{\"id\":\"1232\"}},\"id\":\"1268\",\"type\":\"CDSView\"},{\"attributes\":{\"coordinates\":null,\"fill_alpha\":0.2,\"fill_color\":\"white\",\"group\":null,\"left\":1.5},\"id\":\"1262\",\"type\":\"BoxAnnotation\"},{\"attributes\":{\"coordinates\":null,\"group\":null,\"text_font\":\"Helvetica\"},\"id\":\"1252\",\"type\":\"Title\"},{\"attributes\":{\"coordinates\":null,\"group\":null,\"line_alpha\":0.2,\"line_dash\":[6],\"line_width\":2,\"location\":0},\"id\":\"1259\",\"type\":\"Span\"},{\"attributes\":{},\"id\":\"1281\",\"type\":\"Selection\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.2},\"fill_color\":{\"value\":\"#e84d60\"},\"hatch_alpha\":{\"value\":0.2},\"hatch_color\":{\"value\":\"#e84d60\"},\"line_alpha\":{\"value\":0.2},\"line_color\":{\"value\":\"#e84d60\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"mins\"}},\"id\":\"1335\",\"type\":\"Circle\"},{\"attributes\":{},\"id\":\"1237\",\"type\":\"DataRange1d\"},{\"attributes\":{\"data\":{\"max_asset\":[\"Inventories\",\"Inventories\",\"Inventories\"],\"maxes\":[0.1715367123714358,-0.06578788226151004,0.23626733773084305],\"mean_asset\":[\"Overall\",\"Overall\",\"Overall\"],\"means\":[0.0372852157964054,-0.262084258806486,0.11736148787988565],\"min_asset\":[\"Intellectual Property\",\"Intellectual Property\",\"Intellectual Property\"],\"mins\":[-0.09155606847470654,-0.4364303178484108,-1.1963610179150395e-16],\"positions\":[-0.1,0.9,1.9],\"types\":[\"Typically Financed\",\"Debt Financed\",\"Equity Financed\"]},\"selected\":{\"id\":\"1281\"},\"selection_policy\":{\"id\":\"1280\"}},\"id\":\"1232\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"label\":{\"value\":\"Reform\"},\"renderers\":[{\"id\":\"1320\"},{\"id\":\"1336\"},{\"id\":\"1351\"}]},\"id\":\"1331\",\"type\":\"LegendItem\"},{\"attributes\":{\"coordinates\":null,\"data_source\":{\"id\":\"1232\"},\"glyph\":{\"id\":\"1264\"},\"group\":null,\"hover_glyph\":null,\"muted_glyph\":{\"id\":\"1266\"},\"nonselection_glyph\":{\"id\":\"1265\"},\"view\":{\"id\":\"1268\"}},\"id\":\"1267\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.2},\"fill_color\":{\"value\":\"#718dbf\"},\"hatch_alpha\":{\"value\":0.2},\"hatch_color\":{\"value\":\"#718dbf\"},\"line_alpha\":{\"value\":0.2},\"line_color\":{\"value\":\"#718dbf\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"mins\"}},\"id\":\"1287\",\"type\":\"Circle\"},{\"attributes\":{\"fill_color\":{\"value\":\"#e84d60\"},\"hatch_color\":{\"value\":\"#e84d60\"},\"line_color\":{\"value\":\"#e84d60\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"maxes\"}},\"id\":\"1348\",\"type\":\"Circle\"},{\"attributes\":{\"coordinates\":null,\"data_source\":{\"id\":\"1233\"},\"glyph\":{\"id\":\"1348\"},\"group\":null,\"hover_glyph\":null,\"muted_glyph\":{\"id\":\"1350\"},\"nonselection_glyph\":{\"id\":\"1349\"},\"view\":{\"id\":\"1352\"}},\"id\":\"1351\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"line_alpha\":{\"value\":0.2},\"line_color\":{\"value\":\"#718dbf\"},\"line_width\":{\"value\":2},\"x0\":{\"field\":\"positions\"},\"x1\":{\"field\":\"positions\"},\"y0\":{\"field\":\"mins\"},\"y1\":{\"field\":\"maxes\"}},\"id\":\"1266\",\"type\":\"Segment\"},{\"attributes\":{},\"id\":\"1248\",\"type\":\"BasicTicker\"},{\"attributes\":{\"fill_color\":{\"value\":\"#e84d60\"},\"hatch_color\":{\"value\":\"#e84d60\"},\"line_color\":{\"value\":\"#e84d60\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"mins\"}},\"id\":\"1333\",\"type\":\"Circle\"},{\"attributes\":{\"fill_color\":{\"value\":\"#e84d60\"},\"hatch_color\":{\"value\":\"#e84d60\"},\"line_color\":{\"value\":\"#e84d60\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"means\"}},\"id\":\"1317\",\"type\":\"Circle\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#e84d60\"},\"hatch_alpha\":{\"value\":0.1},\"hatch_color\":{\"value\":\"#e84d60\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#e84d60\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"means\"}},\"id\":\"1318\",\"type\":\"Circle\"},{\"attributes\":{\"code\":\"\\n var types = [\\\"Typically Financed\\\", \\\"Debt Financed\\\", \\\"Equity Financed\\\"]\\n return types[tick]\\n \"},\"id\":\"1255\",\"type\":\"FuncTickFormatter\"},{\"attributes\":{},\"id\":\"1279\",\"type\":\"AllLabels\"},{\"attributes\":{\"coordinates\":null,\"data_source\":{\"id\":\"1232\"},\"glyph\":{\"id\":\"1270\"},\"group\":null,\"hover_glyph\":null,\"muted_glyph\":{\"id\":\"1272\"},\"nonselection_glyph\":{\"id\":\"1271\"},\"view\":{\"id\":\"1274\"}},\"id\":\"1273\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"coordinates\":null,\"data_source\":{\"id\":\"1232\"},\"glyph\":{\"id\":\"1285\"},\"group\":null,\"hover_glyph\":null,\"muted_glyph\":{\"id\":\"1287\"},\"nonselection_glyph\":{\"id\":\"1286\"},\"view\":{\"id\":\"1289\"}},\"id\":\"1288\",\"type\":\"GlyphRenderer\"},{\"attributes\":{},\"id\":\"1329\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"coordinates\":null,\"data_source\":{\"id\":\"1233\"},\"glyph\":{\"id\":\"1311\"},\"group\":null,\"hover_glyph\":null,\"muted_glyph\":{\"id\":\"1313\"},\"nonselection_glyph\":{\"id\":\"1312\"},\"view\":{\"id\":\"1315\"}},\"id\":\"1314\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"source\":{\"id\":\"1233\"}},\"id\":\"1315\",\"type\":\"CDSView\"},{\"attributes\":{\"label\":{\"value\":\"Baseline\"},\"renderers\":[{\"id\":\"1273\"},{\"id\":\"1288\"},{\"id\":\"1301\"}]},\"id\":\"1283\",\"type\":\"LegendItem\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#718dbf\"},\"hatch_alpha\":{\"value\":0.1},\"hatch_color\":{\"value\":\"#718dbf\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#718dbf\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"maxes\"}},\"id\":\"1299\",\"type\":\"Circle\"},{\"attributes\":{\"source\":{\"id\":\"1232\"}},\"id\":\"1289\",\"type\":\"CDSView\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.2},\"fill_color\":{\"value\":\"#e84d60\"},\"hatch_alpha\":{\"value\":0.2},\"hatch_color\":{\"value\":\"#e84d60\"},\"line_alpha\":{\"value\":0.2},\"line_color\":{\"value\":\"#e84d60\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"maxes\"}},\"id\":\"1350\",\"type\":\"Circle\"},{\"attributes\":{\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#718dbf\"},\"line_width\":{\"value\":2},\"x0\":{\"field\":\"positions\"},\"x1\":{\"field\":\"positions\"},\"y0\":{\"field\":\"mins\"},\"y1\":{\"field\":\"maxes\"}},\"id\":\"1265\",\"type\":\"Segment\"},{\"attributes\":{\"coordinates\":null,\"data_source\":{\"id\":\"1232\"},\"glyph\":{\"id\":\"1298\"},\"group\":null,\"hover_glyph\":null,\"muted_glyph\":{\"id\":\"1300\"},\"nonselection_glyph\":{\"id\":\"1299\"},\"view\":{\"id\":\"1302\"}},\"id\":\"1301\",\"type\":\"GlyphRenderer\"},{\"attributes\":{},\"id\":\"1278\",\"type\":\"AllLabels\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.2},\"fill_color\":{\"value\":\"#e84d60\"},\"hatch_alpha\":{\"value\":0.2},\"hatch_color\":{\"value\":\"#e84d60\"},\"line_alpha\":{\"value\":0.2},\"line_color\":{\"value\":\"#e84d60\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"means\"}},\"id\":\"1319\",\"type\":\"Circle\"},{\"attributes\":{},\"id\":\"1330\",\"type\":\"Selection\"},{\"attributes\":{\"axis_label\":\"Marginal Effective Tax Rate\",\"coordinates\":null,\"formatter\":{\"id\":\"1257\"},\"group\":null,\"major_label_policy\":{\"id\":\"1278\"},\"ticker\":{\"id\":\"1248\"}},\"id\":\"1247\",\"type\":\"LinearAxis\"},{\"attributes\":{\"axis\":{\"id\":\"1243\"},\"coordinates\":null,\"grid_line_color\":null,\"group\":null,\"ticker\":null},\"id\":\"1246\",\"type\":\"Grid\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#e84d60\"},\"hatch_alpha\":{\"value\":0.1},\"hatch_color\":{\"value\":\"#e84d60\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#e84d60\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"maxes\"}},\"id\":\"1349\",\"type\":\"Circle\"},{\"attributes\":{\"end\":2.5,\"start\":-0.5},\"id\":\"1235\",\"type\":\"Range1d\"},{\"attributes\":{},\"id\":\"1280\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"axis\":{\"id\":\"1247\"},\"coordinates\":null,\"dimension\":1,\"grid_line_color\":null,\"group\":null,\"ticker\":null},\"id\":\"1250\",\"type\":\"Grid\"},{\"attributes\":{\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#e84d60\"},\"line_width\":{\"value\":2},\"x0\":{\"field\":\"positions\"},\"x1\":{\"field\":\"positions\"},\"y0\":{\"field\":\"mins\"},\"y1\":{\"field\":\"maxes\"}},\"id\":\"1312\",\"type\":\"Segment\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#e84d60\"},\"hatch_alpha\":{\"value\":0.1},\"hatch_color\":{\"value\":\"#e84d60\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#e84d60\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"mins\"}},\"id\":\"1334\",\"type\":\"Circle\"},{\"attributes\":{\"source\":{\"id\":\"1233\"}},\"id\":\"1352\",\"type\":\"CDSView\"},{\"attributes\":{\"data\":{\"max_asset\":[\"Inventories\",\"Inventories\",\"Inventories\"],\"maxes\":[0.2930542097668927,-0.13096339112672467,0.3828060809571457],\"mean_asset\":[\"Overall\",\"Overall\",\"Overall\"],\"means\":[0.1560221115131041,-0.41306259807735984,0.27215617091603245],\"min_asset\":[\"Intellectual Property\",\"Intellectual Property\",\"Intellectual Property\"],\"mins\":[-0.044764641890598596,-0.7815749655421983,0.10026430338666585],\"positions\":[0.1,1.1,2.1],\"types\":[\"Typically Financed\",\"Debt Financed\",\"Equity Financed\"]},\"selected\":{\"id\":\"1330\"},\"selection_policy\":{\"id\":\"1329\"}},\"id\":\"1233\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"ticks\":[0,1,2]},\"id\":\"1253\",\"type\":\"FixedTicker\"},{\"attributes\":{\"source\":{\"id\":\"1233\"}},\"id\":\"1337\",\"type\":\"CDSView\"},{\"attributes\":{\"line_color\":{\"value\":\"#718dbf\"},\"line_width\":{\"value\":2},\"x0\":{\"field\":\"positions\"},\"x1\":{\"field\":\"positions\"},\"y0\":{\"field\":\"mins\"},\"y1\":{\"field\":\"maxes\"}},\"id\":\"1264\",\"type\":\"Segment\"},{\"attributes\":{\"line_color\":{\"value\":\"#e84d60\"},\"line_width\":{\"value\":2},\"x0\":{\"field\":\"positions\"},\"x1\":{\"field\":\"positions\"},\"y0\":{\"field\":\"mins\"},\"y1\":{\"field\":\"maxes\"}},\"id\":\"1311\",\"type\":\"Segment\"},{\"attributes\":{},\"id\":\"1239\",\"type\":\"LinearScale\"},{\"attributes\":{\"coordinates\":null,\"data_source\":{\"id\":\"1233\"},\"glyph\":{\"id\":\"1333\"},\"group\":null,\"hover_glyph\":null,\"muted_glyph\":{\"id\":\"1335\"},\"nonselection_glyph\":{\"id\":\"1334\"},\"view\":{\"id\":\"1337\"}},\"id\":\"1336\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"fill_color\":{\"value\":\"#718dbf\"},\"hatch_color\":{\"value\":\"#718dbf\"},\"line_color\":{\"value\":\"#718dbf\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"means\"}},\"id\":\"1270\",\"type\":\"Circle\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.2},\"fill_color\":{\"value\":\"#718dbf\"},\"hatch_alpha\":{\"value\":0.2},\"hatch_color\":{\"value\":\"#718dbf\"},\"line_alpha\":{\"value\":0.2},\"line_color\":{\"value\":\"#718dbf\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"maxes\"}},\"id\":\"1300\",\"type\":\"Circle\"},{\"attributes\":{\"source\":{\"id\":\"1232\"}},\"id\":\"1302\",\"type\":\"CDSView\"},{\"attributes\":{\"line_alpha\":{\"value\":0.2},\"line_color\":{\"value\":\"#e84d60\"},\"line_width\":{\"value\":2},\"x0\":{\"field\":\"positions\"},\"x1\":{\"field\":\"positions\"},\"y0\":{\"field\":\"mins\"},\"y1\":{\"field\":\"maxes\"}},\"id\":\"1313\",\"type\":\"Segment\"},{\"attributes\":{\"coordinates\":null,\"group\":null,\"items\":[{\"id\":\"1283\"},{\"id\":\"1331\"}],\"location\":\"bottom_right\"},\"id\":\"1282\",\"type\":\"Legend\"},{\"attributes\":{},\"id\":\"1251\",\"type\":\"Toolbar\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#718dbf\"},\"hatch_alpha\":{\"value\":0.1},\"hatch_color\":{\"value\":\"#718dbf\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#718dbf\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"mins\"}},\"id\":\"1286\",\"type\":\"Circle\"},{\"attributes\":{\"source\":{\"id\":\"1232\"}},\"id\":\"1274\",\"type\":\"CDSView\"},{\"attributes\":{\"fill_color\":{\"value\":\"#718dbf\"},\"hatch_color\":{\"value\":\"#718dbf\"},\"line_color\":{\"value\":\"#718dbf\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"maxes\"}},\"id\":\"1298\",\"type\":\"Circle\"},{\"attributes\":{\"fill_color\":{\"value\":\"#718dbf\"},\"hatch_color\":{\"value\":\"#718dbf\"},\"line_color\":{\"value\":\"#718dbf\"},\"size\":{\"value\":12},\"x\":{\"field\":\"positions\"},\"y\":{\"field\":\"mins\"}},\"id\":\"1285\",\"type\":\"Circle\"},{\"attributes\":{\"axis_label\":\"Method of Financing\",\"coordinates\":null,\"formatter\":{\"id\":\"1255\"},\"group\":null,\"major_label_policy\":{\"id\":\"1279\"},\"ticker\":{\"id\":\"1253\"}},\"id\":\"1243\",\"type\":\"LinearAxis\"}],\"root_ids\":[\"1234\"]},\"title\":\"Bokeh Application\",\"version\":\"2.4.2\"}};\n const render_items = [{\"docid\":\"f9ffa6b6-e04f-448f-891e-a0b7ba90b2fb\",\"root_ids\":[\"1234\"],\"roots\":{\"1234\":\"5a925981-37f3-41a3-a8ff-fbee3fb8c6aa\"}}];\n root.Bokeh.embed.embed_items_notebook(docs_json, render_items);\n\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 = {\"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/vnd.bokehjs_exec.v0+json": "" }, "metadata": { "application/vnd.bokehjs_exec.v0+json": { - "id": "1234" + "id": "p1113" } }, "output_type": "display_data" @@ -1715,18 +2203,150 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 21, "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/html": [ + "\n", + "
\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "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/vnd.bokehjs_exec.v0+json": "" + }, + "metadata": { + "application/vnd.bokehjs_exec.v0+json": { + "id": "p1113" + } + }, + "output_type": "display_data" + } + ], "source": [ "show(rplot)" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 22, "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/html": [ + "\n", + "
\n", + " \n", + " Loading BokehJS ...\n", + "
\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "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/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" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "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/vnd.bokehjs_exec.v0+json": "" + }, + "metadata": { + "application/vnd.bokehjs_exec.v0+json": { + "id": "p1223" + } + }, + "output_type": "display_data" + } + ], "source": [ "# Plot to show variation in METTRs across assets\n", "output_notebook()\n", @@ -1743,9 +2363,72 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 23, "metadata": {}, - "outputs": [], + "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" + ] + }, + { + "data": { + "text/html": [ + "\n", + "
\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "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/vnd.bokehjs_exec.v0+json": "" + }, + "metadata": { + "application/vnd.bokehjs_exec.v0+json": { + "id": "p1461" + } + }, + "output_type": "display_data" + } + ], "source": [ "bplot = calc1.asset_bubble(calc2)\n", "show(bplot)" @@ -1777,7 +2460,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.3" + "version": "3.11.5" } }, "nbformat": 4, From 4ff4e91ee874771489c649112ad464afbee9ee62 Mon Sep 17 00:00:00 2001 From: jdebacker Date: Tue, 5 Sep 2023 14:18:32 -0400 Subject: [PATCH 7/7] wrap long line --- ccc/calcfunctions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ccc/calcfunctions.py b/ccc/calcfunctions.py index f8dbd31e..a05e1aec 100644 --- a/ccc/calcfunctions.py +++ b/ccc/calcfunctions.py @@ -27,7 +27,8 @@ def update_depr_methods(df, p, dp): deprec_df = pd.DataFrame(dp.asset) print("deprec_df", deprec_df.head()) # split out value into two columns - deprec_df = deprec_df.join(pd.DataFrame(deprec_df.pop('value').values.tolist())) + deprec_df = deprec_df.join( + pd.DataFrame(deprec_df.pop('value').values.tolist())) print("deprec_df 2", deprec_df.head()) # drop information duplicated in asset dataframe deprec_df.drop(columns=['asset_name', 'minor_asset_group',