Last active
October 8, 2018 16:16
-
-
Save adrienpacifico/1e3901c54311d877e86bd89366d17d7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head><style type="text/css" id="alertifyCSS">.alertify-logs>*{padding:12px 24px;color:#fff;box-shadow:0 2px 5px 0 rgba(0,0,0,.2);border-radius:1px}.alertify-logs>*,.alertify-logs>.default{background:rgba(0,0,0,.8)}.alertify-logs>.error{background:rgba(244,67,54,.8)}.alertify-logs>.success{background:rgba(76,175,80,.9)}.alertify{position:fixed;background-color:rgba(0,0,0,.3);left:0;right:0;top:0;bottom:0;width:100%;height:100%;z-index:1}.alertify.hide{opacity:0;pointer-events:none}.alertify,.alertify.show{box-sizing:border-box;transition:all .33s cubic-bezier(.25,.8,.25,1)}.alertify,.alertify *{box-sizing:border-box}.alertify .dialog{padding:12px}.alertify .alert,.alertify .dialog{width:100%;margin:0 auto;position:relative;top:50%;transform:translateY(-50%)}.alertify .alert>*,.alertify .dialog>*{width:400px;max-width:95%;margin:0 auto;text-align:center;padding:12px;background:#fff;box-shadow:0 2px 4px -1px rgba(0,0,0,.14),0 4px 5px 0 rgba(0,0,0,.098),0 1px 10px 0 rgba(0,0,0,.084)}.alertify .alert .msg,.alertify .dialog .msg{padding:12px;margin-bottom:12px;margin:0;text-align:left}.alertify .alert input:not(.form-control),.alertify .dialog input:not(.form-control){margin-bottom:15px;width:100%;font-size:100%;padding:12px}.alertify .alert input:not(.form-control):focus,.alertify .dialog input:not(.form-control):focus{outline-offset:-2px}.alertify .alert nav,.alertify .dialog nav{text-align:right}.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button),.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button){background:transparent;box-sizing:border-box;color:rgba(0,0,0,.87);position:relative;outline:0;border:0;display:inline-block;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center;padding:0 6px;margin:6px 8px;line-height:36px;min-height:36px;white-space:nowrap;min-width:88px;text-align:center;text-transform:uppercase;font-size:14px;text-decoration:none;cursor:pointer;border:1px solid transparent;border-radius:2px}.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):active,.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):hover,.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):active,.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):hover{background-color:rgba(0,0,0,.05)}.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):focus,.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):focus{border:1px solid rgba(0,0,0,.1)}.alertify .alert nav button.btn,.alertify .dialog nav button.btn{margin:6px 4px}.alertify-logs{position:fixed;z-index:1}.alertify-logs.bottom,.alertify-logs:not(.top){bottom:16px}.alertify-logs.left,.alertify-logs:not(.right){left:16px}.alertify-logs.left>*,.alertify-logs:not(.right)>*{float:left;transform:translateZ(0);height:auto}.alertify-logs.left>.show,.alertify-logs:not(.right)>.show{left:0}.alertify-logs.left>*,.alertify-logs.left>.hide,.alertify-logs:not(.right)>*,.alertify-logs:not(.right)>.hide{left:-110%}.alertify-logs.right{right:16px}.alertify-logs.right>*{float:right;transform:translateZ(0)}.alertify-logs.right>.show{right:0;opacity:1}.alertify-logs.right>*,.alertify-logs.right>.hide{right:-110%;opacity:0}.alertify-logs.top{top:0}.alertify-logs>*{box-sizing:border-box;transition:all .4s cubic-bezier(.25,.8,.25,1);position:relative;clear:both;backface-visibility:hidden;perspective:1000;max-height:0;margin:0;padding:0;overflow:hidden;opacity:0;pointer-events:none}.alertify-logs>.show{margin-top:12px;opacity:1;max-height:1000px;padding:12px;pointer-events:auto}</style> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> | |
<script type="text/javascript" src="https://www.promisejs.org/polyfills/promise-6.1.0.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.2.0/require.js"></script> | |
<script type="text/javascript" src="/static/components/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full,Safe&delayStartupUntil=configured" charset="utf-8"></script> | |
<title>nbdime - diff and merge your Jupyter notebooks</title> | |
<style type="text/css">.jp-RenderedText{text-align:left;padding-left:var(--jp-code-padding);font-size:var(--jp-code-font-size);line-height:var(--jp-code-line-height);font-family:var(--jp-code-font-family)}.jp-RenderedHTMLCommon pre,.jp-RenderedJavaScript pre,.jp-RenderedText pre{color:var(--jp-content-font-color1);border:none;margin:0;padding:0}.jp-RenderedText pre .ansi-black-fg{color:#3e424d}.jp-RenderedText pre .ansi-red-fg{color:#e75c58}.jp-RenderedText pre .ansi-green-fg{color:#00a250}.jp-RenderedText pre .ansi-yellow-fg{color:#ddb62b}.jp-RenderedText pre .ansi-blue-fg{color:#208ffb}.jp-RenderedText pre .ansi-magenta-fg{color:#d160c4}.jp-RenderedText pre .ansi-cyan-fg{color:#60c6c8}.jp-RenderedText pre .ansi-white-fg{color:#c5c1b4}.jp-RenderedText pre .ansi-black-bg{background-color:#3e424d}.jp-RenderedText pre .ansi-red-bg{background-color:#e75c58}.jp-RenderedText pre .ansi-green-bg{background-color:#00a250}.jp-RenderedText pre .ansi-yellow-bg{background-color:#ddb62b}.jp-RenderedText pre .ansi-blue-bg{background-color:#208ffb}.jp-RenderedText pre .ansi-magenta-bg{background-color:#d160c4}.jp-RenderedText pre .ansi-cyan-bg{background-color:#60c6c8}.jp-RenderedText pre .ansi-white-bg{background-color:#c5c1b4}.jp-RenderedText pre .ansi-bright-black-fg{color:#282c36}.jp-RenderedText pre .ansi-bright-red-fg{color:#b22b31}.jp-RenderedText pre .ansi-bright-green-fg{color:#007427}.jp-RenderedText pre .ansi-bright-yellow-fg{color:#b27d12}.jp-RenderedText pre .ansi-bright-blue-fg{color:#0065ca}.jp-RenderedText pre .ansi-bright-magenta-fg{color:#a03196}.jp-RenderedText pre .ansi-bright-cyan-fg{color:#258f8f}.jp-RenderedText pre .ansi-bright-white-fg{color:#a1a6b2}.jp-RenderedText pre .ansi-bright-black-bg{background-color:#282c36}.jp-RenderedText pre .ansi-bright-red-bg{background-color:#b22b31}.jp-RenderedText pre .ansi-bright-green-bg{background-color:#007427}.jp-RenderedText pre .ansi-bright-yellow-bg{background-color:#b27d12}.jp-RenderedText pre .ansi-bright-blue-bg{background-color:#0065ca}.jp-RenderedText pre .ansi-bright-magenta-bg{background-color:#a03196}.jp-RenderedText pre .ansi-bright-cyan-bg{background-color:#258f8f}.jp-RenderedText pre .ansi-bright-white-bg{background-color:#a1a6b2}.jp-RenderedText[data-mime-type="application/vnd.jupyter.stderr"]{background:var(--jp-rendermime-error-background);padding-top:var(--jp-code-padding)}.jp-RenderedHTMLCommon,.jp-RenderedLatex{color:var(--jp-content-font-color1);font-size:var(--jp-content-font-size1);line-height:var(--jp-content-line-height)}.jp-RenderedHTMLCommon{font-family:var(--jp-content-font-family);padding-right:20px}.jp-RenderedHTMLCommon .MathJax_Display{margin:0}.jp-RenderedHTMLCommon em{font-style:italic}.jp-RenderedHTMLCommon strong{font-weight:700}.jp-RenderedHTMLCommon u{text-decoration:underline}.jp-RenderedHTMLCommon a:link{text-decoration:none;color:var(--jp-content-link-color)}.jp-RenderedHTMLCommon a:hover{text-decoration:underline;color:var(--jp-content-link-color)}.jp-RenderedHTMLCommon a:visited{text-decoration:none;color:var(--jp-content-link-color)}.jp-RenderedHTMLCommon h1,.jp-RenderedHTMLCommon h2,.jp-RenderedHTMLCommon h3,.jp-RenderedHTMLCommon h4,.jp-RenderedHTMLCommon h5,.jp-RenderedHTMLCommon h6{line-height:var(--jp-content-heading-line-height);font-weight:var(--jp-content-heading-font-weight);font-style:normal;margin:var(--jp-content-heading-margin-top) 0 var(--jp-content-heading-margin-bottom)}.jp-RenderedHTMLCommon h1:first-child,.jp-RenderedHTMLCommon h2:first-child,.jp-RenderedHTMLCommon h3:first-child,.jp-RenderedHTMLCommon h4:first-child,.jp-RenderedHTMLCommon h5:first-child,.jp-RenderedHTMLCommon h6:first-child{margin-top:calc(.5 * var(--jp-content-heading-margin-top))}.jp-RenderedHTMLCommon h1:last-child,.jp-RenderedHTMLCommon h2:last-child,.jp-RenderedHTMLCommon h3:last-child,.jp-RenderedHTMLCommon h4:last-child,.jp-RenderedHTMLCommon h5:last-child,.jp-RenderedHTMLCommon h6:last-child{margin-bottom:calc(.5 * var(--jp-content-heading-margin-bottom))}.jp-RenderedHTMLCommon h1{font-size:var(--jp-content-font-size5)}.jp-RenderedHTMLCommon h2{font-size:var(--jp-content-font-size4)}.jp-RenderedHTMLCommon h3{font-size:var(--jp-content-font-size3)}.jp-RenderedHTMLCommon h4{font-size:var(--jp-content-font-size2)}.jp-RenderedHTMLCommon h5{font-size:var(--jp-content-font-size1)}.jp-RenderedHTMLCommon h6{font-size:var(--jp-content-font-size0)}.jp-RenderedHTMLCommon ol:not(.list-inline),.jp-RenderedHTMLCommon ul:not(.list-inline){padding-left:2em}.jp-RenderedHTMLCommon ul{list-style:disc}.jp-RenderedHTMLCommon ul ul{list-style:square}.jp-RenderedHTMLCommon ul ul ul{list-style:circle}.jp-RenderedHTMLCommon ol{list-style:decimal}.jp-RenderedHTMLCommon ol ol{list-style:upper-alpha}.jp-RenderedHTMLCommon ol ol ol{list-style:lower-alpha}.jp-RenderedHTMLCommon ol ol ol ol{list-style:lower-roman}.jp-RenderedHTMLCommon ol ol ol ol ol{list-style:decimal}.jp-RenderedHTMLCommon ol,.jp-RenderedHTMLCommon ul{margin-bottom:1em}.jp-RenderedHTMLCommon ol ol,.jp-RenderedHTMLCommon ol ul,.jp-RenderedHTMLCommon ul ol,.jp-RenderedHTMLCommon ul ul{margin-bottom:0}.jp-RenderedHTMLCommon hr{color:var(--jp-border-color2);background-color:var(--jp-border-color1);margin-top:1em;margin-bottom:1em}.jp-RenderedHTMLCommon>pre{margin:1.5em 2em}.jp-RenderedHTMLCommon code,.jp-RenderedHTMLCommon pre{border:0;background-color:var(--jp-layout-color0);color:var(--jp-content-font-color1);font-family:var(--jp-code-font-family);font-size:inherit;line-height:var(--jp-code-line-height);padding:0}.jp-RenderedHTMLCommon p>code{background-color:var(--jp-layout-color2);padding:1px 5px}.jp-RenderedHTMLCommon table{border-collapse:collapse;border-spacing:0;border:none;color:var(--jp-ui-font-color1);font-size:12px;table-layout:fixed;margin-left:auto;margin-right:auto}.jp-RenderedHTMLCommon thead{border-bottom:var(--jp-border-width) solid var(--jp-border-color1);vertical-align:bottom}.jp-RenderedHTMLCommon td,.jp-RenderedHTMLCommon th,.jp-RenderedHTMLCommon tr{text-align:right;vertical-align:middle;padding:.5em;line-height:normal;white-space:normal;max-width:none;border:none}.jp-RenderedMarkdown.jp-RenderedHTMLCommon td,.jp-RenderedMarkdown.jp-RenderedHTMLCommon th{max-width:none}.jp-RenderedHTMLCommon th{font-weight:700}.jp-RenderedHTMLCommon tbody tr:nth-child(odd){background:var(--jp-layout-color0)}.jp-RenderedHTMLCommon tbody tr:nth-child(2n){background:var(--jp-rendermime-table-row-background)}.jp-RenderedHTMLCommon tbody tr:hover{background:var(--jp-rendermime-table-row-hover-background)}.jp-RenderedHTMLCommon table{margin-bottom:1em}.jp-RenderedHTMLCommon p{text-align:left;margin:0;margin-bottom:1em}.jp-RenderedHTMLCommon img{-moz-force-broken-image-icon:1}.jp-RenderedHTMLCommon>img{display:block;margin-left:auto;margin-right:auto;margin-bottom:1em}.jp-RenderedHTMLCommon img,.jp-RenderedHTMLCommon svg,.jp-RenderedImage img,.jp-RenderedSVG svg{max-width:100%;height:auto}.jp-RenderedHTMLCommon img.jp-mod-unconfined,.jp-RenderedHTMLCommon svg.jp-mod-unconfined,.jp-RenderedImage img.jp-mod-unconfined,.jp-RenderedSVG svg.jp-mod-unconfined{max-width:none}.jp-RenderedHTMLCommon .alert{margin-bottom:1em}.jp-RenderedHTMLCommon blockquote{margin:1em 2em;padding:0 1em;border-left:5px solid var(--jp-border-color2)}a.jp-InternalAnchorLink{visibility:hidden;margin-left:8px;color:var(--md-blue-800)}h1:hover .jp-InternalAnchorLink,h2:hover .jp-InternalAnchorLink,h3:hover .jp-InternalAnchorLink,h4:hover .jp-InternalAnchorLink,h5:hover .jp-InternalAnchorLink,h6:hover .jp-InternalAnchorLink{visibility:visible}.jp-RenderedHTMLCommon>:last-child{margin-bottom:.5em}.jp-RenderedPDF{font-size:var(--jp-ui-font-size1)}</style><style type="text/css">:root{--jp-private-commandpalette-search-height:28px}.p-CommandPalette{padding-bottom:0;color:var(--jp-ui-font-color1);background:var(--jp-layout-color1);font-size:var(--jp-ui-font-size1)}.p-CommandPalette-search{padding:8px;background-color:var(--jp-layout-color2);border-bottom:1px solid var(--jp-border-color1);box-shadow:var(--jp-toolbar-box-shadow);z-index:2}.p-CommandPalette-wrapper{overflow:overlay;padding:0 8px;border:1px solid var(--jp-border-color0);background-color:var(--jp-input-active-background);height:30px}.p-CommandPalette.p-mod-focused .p-CommandPalette-wrapper{border:var(--jp-border-width) solid var(--md-blue-500);box-shadow:inset 0 0 4px var(--md-blue-300)}.p-CommandPalette-wrapper:after{content:" ";color:#fff;background-color:var(--jp-brand-color1);position:absolute;top:8px;right:8px;height:32px;width:12px;padding:0 12px;background-image:var(--jp-icon-search-white);background-size:20px;background-repeat:no-repeat;background-position:50%}.p-CommandPalette-input{background:transparent;width:calc(100% - 18px);float:left;border:none;outline:none;font-size:var(--jp-ui-font-size1);color:var(--jp-ui-font-color0);line-height:var(--jp-private-commandpalette-search-height)}.p-CommandPalette-input::-webkit-input-placeholder{color:var(--jp-ui-font-color3);font-size:var(--jp-ui-font-size1)}.p-CommandPalette-input::-moz-placeholder{color:var(--jp-ui-font-color3);font-size:var(--jp-ui-font-size1)}.p-CommandPalette-input:-ms-input-placeholder{color:var(--jp-ui-font-color3);font-size:var(--jp-ui-font-size1)}.p-CommandPalette-header{padding:12px 0 4px 22px;color:var(--jp-ui-font-color1);font-size:var(--jp-ui-font-size0);font-weight:600;cursor:pointer;text-transform:uppercase;border-bottom:solid var(--jp-border-width) var(--jp-border-color2);letter-spacing:1px}.p-CommandPalette-header.p-mod-active{background:var(--jp-layout-color2)}.p-CommandPalette-header:hover:before{content:"\2026";float:right;margin-right:4px}.p-CommandPalette-header>mark{background-color:transparent;font-weight:700}.p-CommandPalette-item{padding:4px 12px 4px 4px;color:var(--jp-ui-font-color1);font-size:var(--jp-ui-font-size1);font-weight:400;display:flex}.p-CommandPalette-item.p-mod-disabled{color:var(--jp-ui-font-color3)}.p-CommandPalette-item.p-mod-active{background:var(--jp-layout-color3)}.p-CommandPalette-item:hover:not(.p-mod-active):not(.p-mod-disabled){background:var(--jp-layout-color2)}.p-CommandPalette-itemContent{overflow:hidden}.p-CommandPalette-itemLabel>mark{color:var(--jp-ui-font-color0);background-color:transparent;font-weight:700}.p-CommandPalette-item.p-mod-disabled mark{color:rgba(0,0,0,.4)}.p-CommandPalette-item.p-mod-toggled .p-CommandPalette-itemIcon{background-image:var(--jp-icon-checkmark);background-size:16px;background-repeat:no-repeat}.p-CommandPalette-item .p-CommandPalette-itemIcon{padding:0 0 0 4px;position:relative;width:16px;top:2px;flex:0 0 auto}.p-CommandPalette-item.p-mod-disabled .p-CommandPalette-itemIcon{opacity:.4}.p-CommandPalette-item .p-CommandPalette-itemShortcut{flex:0 0 auto}.p-CommandPalette-itemCaption{display:none}.p-CommandPalette-content{background-color:var(--jp-layout-color1)}.p-CommandPalette-content:empty:after{content:"No results";margin:auto;margin-top:20px;width:100px;display:block;font-size:var(--jp-ui-font-size2);font-family:var(--jp-ui-font-family);font-weight:lighter}.p-CommandPalette-emptyMessage{text-align:center;margin-top:24px;line-height:1.32;padding:0 8px;color:var(--jp-content-font-color3)}</style><style type="text/css">.jp-Dialog{position:absolute;z-index:10000;align-items:center;justify-content:center;top:0;left:0;margin:0;padding:0;width:100%;height:100%;background:var(--jp-dialog-background)}.jp-Dialog,.jp-Dialog-content{display:flex;flex-direction:column}.jp-Dialog-content{margin-left:auto;margin-right:auto;background:var(--jp-layout-color1);padding:24px;padding-bottom:12px;min-width:300px;min-height:150px;max-width:500px;max-height:500px;box-sizing:border-box;box-shadow:var(--jp-elevation-z20);word-wrap:break-word;border-radius:var(--jp-border-radius);font-size:var(--jp-ui-font-size1);color:var(--jp-ui-font-color1)}.jp-Dialog-header{flex:0 0 auto;padding-bottom:12px;font-size:var(--jp-ui-font-size3);font-weight:400;color:var(--jp-ui-font-color0)}.jp-Dialog-body{display:flex;flex-direction:column;flex:1 1 auto;font-size:var(--jp-ui-font-size1);background:var(--jp-layout-color1);overflow:auto}.jp-Dialog-footer{display:flex;flex-direction:row;justify-content:flex-end;flex:0 0 auto;margin-left:-12px;margin-right:-12px;padding:12px}.jp-Dialog-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.jp-Dialog-body>.jp-select-wrapper{width:100%}.jp-Dialog-body>button{padding:0 16px}.jp-Dialog-body>label{padding-top:4px;padding-bottom:8px;line-height:1.4;color:var(--jp-ui-font-color0)}.jp-Dialog-button.jp-mod-styled:not(:last-child){margin-right:12px}</style><style type="text/css">.jp-HoverBox{position:fixed}.jp-HoverBox.jp-mod-outofview{display:none}</style><style type="text/css">.jp-IFrame{width:100%;height:100%}.jp-IFrame>iframe{border:none}body.p-mod-override-cursor .jp-IFrame{position:relative}body.p-mod-override-cursor .jp-IFrame:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:transparent}</style><style type="text/css">.jp-MainAreaWidget>:focus{outline:none}</style><style type="text/css">.jp-Spinner{position:absolute;display:flex;justify-content:center;align-items:center;z-index:10;left:0;top:0;width:100%;height:100%;background:var(--jp-layout-color0);outline:none}.jp-SpinnerContent{font-size:10px;margin:50px auto;text-indent:-9999em;width:3em;height:3em;border-radius:50%;background:var(--jp-brand-color3);background:linear-gradient(90deg,#f37626 10%,hsla(0,0%,100%,0) 42%);position:relative;animation:load3 1s infinite linear,fadeIn 1s}.jp-SpinnerContent:before{width:50%;height:50%;background:#f37626;border-radius:100% 0 0 0;position:absolute;top:0;left:0;content:""}.jp-SpinnerContent:after{background:var(--jp-layout-color0);width:75%;height:75%;border-radius:50%;content:"";margin:auto;position:absolute;top:0;left:0;bottom:0;right:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes load3{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}</style><style type="text/css">button.jp-mod-styled{font-size:var(--jp-ui-font-size1);border:none;text-transform:uppercase;text-align:center;line-height:32px;height:32px;padding:0 12px;letter-spacing:.8px}button.jp-mod-styled,input.jp-mod-styled{color:var(--jp-ui-font-color0);box-sizing:border-box;outline:none;appearance:none;-webkit-appearance:none;-moz-appearance:none}input.jp-mod-styled{background:var(--jp-input-background);height:28px;border:var(--jp-border-width) solid var(--jp-border-color1);padding-left:7px;padding-right:7px;font-size:var(--jp-ui-font-size2)}input.jp-mod-styled:focus{border:var(--jp-border-width) solid var(--md-blue-500);box-shadow:inset 0 0 4px var(--md-blue-300)}button.jp-mod-styled:focus{box-shadow:inset 0 0 0 1px #fff;border:1px solid transparent}.jp-select-wrapper{display:flex;flex-direction:column;padding:1px;background-color:var(--jp-layout-color1);height:28px;box-sizing:border-box;margin-bottom:12px}.jp-select-wrapper.jp-mod-focused select.jp-mod-styled{border:var(--jp-border-width) solid var(--jp-input-active-border-color);box-shadow:var(--jp-input-box-shadow);background-color:var(--jp-input-active-background)}select.jp-mod-styled:hover{background-color:var(--jp-layout-color1);cursor:pointer;color:var(--jp-ui-font-color0);background-color:var(--jp-input-hover-background);box-shadow:inset 0 0 1px rgba(0,0,0,.5)}select.jp-mod-styled{flex:1 1 auto;height:32px;width:100%;font-size:var(--jp-ui-font-size2);background:var(--jp-input-background);color:var(--jp-ui-font-color0);padding-left:8px;padding-right:8px;background-image:var(--jp-ui-select-caret);background-repeat:no-repeat;background-position:99%;background-size:18px;border:var(--jp-border-width) solid var(--jp-input-border-color);border-radius:0;outline:none;appearance:none;-webkit-appearance:none;-moz-appearance:none}</style><style type="text/css">:root{--jp-private-toolbar-height:28px}.jp-Toolbar{color:var(--jp-ui-font-color1);flex:0 0 auto;display:flex;flex-direction:row;border-bottom:var(--jp-border-width) solid var(--jp-toolbar-border-color);box-shadow:var(--jp-toolbar-box-shadow);background:var(--jp-toolbar-background);min-height:var(--jp-toolbar-micro-height);padding:2px;z-index:1}.jp-Toolbar>.jp-Toolbar-item{flex:0 0 auto;display:flex;padding-left:8px;padding-right:8px;font-size:var(--jp-ui-font-size1);line-height:var(--jp-private-toolbar-height);height:100%}.jp-Toolbar-item.jp-Toolbar-button{display:inline-block;height:24px;width:32px;background-color:var(--jp-layout-color1);background-repeat:no-repeat;background-position:50%;background-size:16px;border:1px solid var(--jp-layout-color1)}.jp-Toolbar-item.jp-Toolbar-button:focus{box-shadow:var(--jp-toolbar-box-shadow);border:1px solid var(--jp-toolbar-border-color)}.jp-Toolbar-button:enabled:hover{border:1px solid var(--jp-toolbar-border-color);box-shadow:0 0 2px 0 rgba(0,0,0,.24)}.jp-Toolbar-button:enabled:active{border:1px solid var(--jp-toolbar-border-color);background-color:var(--jp-toolbar-active-background);box-shadow:var(--jp-toolbar-box-shadow)}.jp-Toolbar-button:disabled{opacity:.4}.jp-Toolbar-button.p-mod-toggled{background-color:var(--jp-toolbar-active-background);box-shadow:inset 0 0 1px rgba(0,0,0,.5)}.jp-Toolbar>.jp-Toolbar-item.jp-Toolbar-spacer{flex-grow:1;flex-shrink:1}.jp-Toolbar>.jp-Toolbar-item.jp-Toolbar-kernelName{width:auto;text-transform:none;letter-spacing:normal;text-align:left;font-size:var(--jp-ui-font-size1);line-height:22px}.jp-Toolbar-item.jp-Toolbar-kernelStatus{display:inline-block;width:32px;background-repeat:no-repeat;background-position:50%;background-size:16px}</style><style type="text/css"></style><style type="text/css">.jp-JSONEditor{display:flex;flex-direction:column;width:100%}.jp-JSONEditor-host{flex:1 1 auto;border:var(--jp-border-width) solid var(--jp-input-border-color);border-radius:0;background:var(--jp-layout-color0);min-height:50px;margin-left:12px;margin-right:12px;padding:1px}.jp-JSONEditor.jp-mod-error .jp-JSONEditor-host{border-color:red;outline-color:red}.jp-JSONEditor-header{display:flex;flex:1 0 auto;min-height:13px;padding:12px}.jp-JSONEditor-header label{flex:0 0 auto}.jp-JSONEditor-collapser.jp-mod-collapse-enabled,.jp-JSONEditor-commitButton,.jp-JSONEditor-revertButton{height:16px;width:16px;background-size:18px;background-repeat:no-repeat;background-position:50%}.jp-JSONEditor-commitButton{background-image:var(--jp-icon-checkmark);margin-left:8px}.jp-JSONEditor-revertButton{background-image:var(--jp-icon-undo)}.jp-JSONEditor-collapser.jp-mod-collapse-enabled{margin-left:6px;background-image:var(--jp-icon-caretup)}.jp-JSONEditor-collapser.jp-mod-collapse-enabled.jp-mod-collapsed{margin-left:6px;background-image:var(--jp-icon-caretdown)}.jp-JSONEditor-host.jp-mod-collapsed{display:none}.jp-JSONEditor-host.jp-mod-focused{background-color:var(--jp-input-active-background);border:1px solid var(--jp-input-active-border-color);box-shadow:var(--jp-input-box-shadow)}</style><style type="text/css">.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:-20px;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}</style><style type="text/css">.CodeMirror-dialog{position:absolute;left:0;right:0;background:inherit;z-index:15;padding:.1em .8em;overflow:hidden;color:inherit}.CodeMirror-dialog-top{border-bottom:1px solid #eee;top:0}.CodeMirror-dialog-bottom{border-top:1px solid #eee;bottom:0}.CodeMirror-dialog input{border:none;outline:none;background:transparent;width:20em;color:inherit;font-family:monospace}.CodeMirror-dialog button{font-size:70%}</style><style type="text/css">.cm-s-material.CodeMirror{background-color:#263238;color:#e9eded}.cm-s-material .CodeMirror-gutters{background:#263238;color:#537f7e;border:none}.cm-s-material .CodeMirror-guttermarker,.cm-s-material .CodeMirror-guttermarker-subtle,.cm-s-material .CodeMirror-linenumber{color:#537f7e}.cm-s-material .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-material div.CodeMirror-selected{background:hsla(0,0%,100%,.15)}.cm-s-material.CodeMirror-focused div.CodeMirror-selected{background:hsla(0,0%,100%,.1)}.cm-s-material .CodeMirror-line::selection,.cm-s-material .CodeMirror-line>span::selection,.cm-s-material .CodeMirror-line>span>span::selection{background:hsla(0,0%,100%,.1)}.cm-s-material .CodeMirror-line::-moz-selection,.cm-s-material .CodeMirror-line>span::-moz-selection,.cm-s-material .CodeMirror-line>span>span::-moz-selection{background:hsla(0,0%,100%,.1)}.cm-s-material .CodeMirror-activeline-background{background:transparent}.cm-s-material .cm-keyword{color:#c792ea}.cm-s-material .cm-operator{color:#e9eded}.cm-s-material .cm-variable-2{color:#80cbc4}.cm-s-material .cm-type,.cm-s-material .cm-variable-3{color:#82b1ff}.cm-s-material .cm-builtin{color:#decb6b}.cm-s-material .cm-atom,.cm-s-material .cm-number{color:#f77669}.cm-s-material .cm-def{color:#e9eded}.cm-s-material .cm-string{color:#c3e88d}.cm-s-material .cm-string-2{color:#80cbc4}.cm-s-material .cm-comment{color:#546e7a}.cm-s-material .cm-variable{color:#82b1ff}.cm-s-material .cm-meta,.cm-s-material .cm-tag{color:#80cbc4}.cm-s-material .cm-attribute{color:#ffcb6b}.cm-s-material .cm-property{color:#80cbae}.cm-s-material .cm-qualifier,.cm-s-material .cm-type,.cm-s-material .cm-variable-3{color:#decb6b}.cm-s-material .cm-tag{color:#ff5370}.cm-s-material .cm-error{color:#fff;background-color:#ec5f67}.cm-s-material .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}</style><style type="text/css">.cm-s-zenburn .CodeMirror-gutters{background:#3f3f3f!important}.cm-s-zenburn .CodeMirror-foldgutter-open,.CodeMirror-foldgutter-folded{color:#999}.cm-s-zenburn .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-zenburn{background-color:#3f3f3f;color:#dcdccc}.cm-s-zenburn span.cm-builtin{color:#dcdccc;font-weight:700}.cm-s-zenburn span.cm-comment{color:#7f9f7f}.cm-s-zenburn span.cm-keyword{color:#f0dfaf;font-weight:700}.cm-s-zenburn span.cm-atom{color:#bfebbf}.cm-s-zenburn span.cm-def{color:#dcdccc}.cm-s-zenburn span.cm-variable{color:#dfaf8f}.cm-s-zenburn span.cm-variable-2{color:#dcdccc}.cm-s-zenburn span.cm-string,.cm-s-zenburn span.cm-string-2{color:#cc9393}.cm-s-zenburn span.cm-number{color:#dcdccc}.cm-s-zenburn span.cm-tag{color:#93e0e3}.cm-s-zenburn span.cm-attribute,.cm-s-zenburn span.cm-property{color:#dfaf8f}.cm-s-zenburn span.cm-qualifier{color:#7cb8bb}.cm-s-zenburn span.cm-meta{color:#f0dfaf}.cm-s-zenburn span.cm-header,.cm-s-zenburn span.cm-operator{color:#f0efd0}.cm-s-zenburn span.CodeMirror-matchingbracket{box-sizing:border-box;background:transparent;border-bottom:1px solid}.cm-s-zenburn span.CodeMirror-nonmatchingbracket{border-bottom:1px solid;background:none}.cm-s-zenburn .CodeMirror-activeline,.cm-s-zenburn .CodeMirror-activeline-background{background:#000}.cm-s-zenburn div.CodeMirror-selected{background:#545454}.cm-s-zenburn .CodeMirror-focused div.CodeMirror-selected{background:#4f4f4f}</style><style type="text/css">.cm-s-abcdef.CodeMirror{background:#0f0f0f;color:#defdef}.cm-s-abcdef div.CodeMirror-selected{background:#515151}.cm-s-abcdef .CodeMirror-line::selection,.cm-s-abcdef .CodeMirror-line>span::selection,.cm-s-abcdef .CodeMirror-line>span>span::selection{background:rgba(56,56,56,.99)}.cm-s-abcdef .CodeMirror-line::-moz-selection,.cm-s-abcdef .CodeMirror-line>span::-moz-selection,.cm-s-abcdef .CodeMirror-line>span>span::-moz-selection{background:rgba(56,56,56,.99)}.cm-s-abcdef .CodeMirror-gutters{background:#555;border-right:2px solid #314151}.cm-s-abcdef .CodeMirror-guttermarker{color:#222}.cm-s-abcdef .CodeMirror-guttermarker-subtle{color:azure}.cm-s-abcdef .CodeMirror-linenumber{color:#fff}.cm-s-abcdef .CodeMirror-cursor{border-left:1px solid #0f0}.cm-s-abcdef span.cm-keyword{color:#b8860b;font-weight:700}.cm-s-abcdef span.cm-atom{color:#77f}.cm-s-abcdef span.cm-number{color:violet}.cm-s-abcdef span.cm-def{color:#fffabc}.cm-s-abcdef span.cm-variable{color:#abcdef}.cm-s-abcdef span.cm-variable-2{color:#cacbcc}.cm-s-abcdef span.cm-type,.cm-s-abcdef span.cm-variable-3{color:#def}.cm-s-abcdef span.cm-property{color:#fedcba}.cm-s-abcdef span.cm-operator{color:#ff0}.cm-s-abcdef span.cm-comment{color:#7a7b7c;font-style:italic}.cm-s-abcdef span.cm-string{color:#2b4}.cm-s-abcdef span.cm-meta{color:#c9f}.cm-s-abcdef span.cm-qualifier{color:#fff700}.cm-s-abcdef span.cm-builtin{color:#30aabc}.cm-s-abcdef span.cm-bracket{color:#8a8a8a}.cm-s-abcdef span.cm-tag{color:#fd4}.cm-s-abcdef span.cm-attribute{color:#df0}.cm-s-abcdef span.cm-error{color:red}.cm-s-abcdef span.cm-header{color:#7fffd4;font-weight:700}.cm-s-abcdef span.cm-link{color:#8a2be2}.cm-s-abcdef .CodeMirror-activeline-background{background:#314151}</style><style type="text/css">.cm-s-base16-light.CodeMirror{background:#f5f5f5;color:#202020}.cm-s-base16-light div.CodeMirror-selected{background:#e0e0e0}.cm-s-base16-light .CodeMirror-line::selection,.cm-s-base16-light .CodeMirror-line>span::selection,.cm-s-base16-light .CodeMirror-line>span>span::selection{background:#e0e0e0}.cm-s-base16-light .CodeMirror-line::-moz-selection,.cm-s-base16-light .CodeMirror-line>span::-moz-selection,.cm-s-base16-light .CodeMirror-line>span>span::-moz-selection{background:#e0e0e0}.cm-s-base16-light .CodeMirror-gutters{background:#f5f5f5;border-right:0}.cm-s-base16-light .CodeMirror-guttermarker{color:#ac4142}.cm-s-base16-light .CodeMirror-guttermarker-subtle,.cm-s-base16-light .CodeMirror-linenumber{color:#b0b0b0}.cm-s-base16-light .CodeMirror-cursor{border-left:1px solid #505050}.cm-s-base16-light span.cm-comment{color:#8f5536}.cm-s-base16-light span.cm-atom,.cm-s-base16-light span.cm-number{color:#aa759f}.cm-s-base16-light span.cm-attribute,.cm-s-base16-light span.cm-property{color:#90a959}.cm-s-base16-light span.cm-keyword{color:#ac4142}.cm-s-base16-light span.cm-string{color:#f4bf75}.cm-s-base16-light span.cm-variable{color:#90a959}.cm-s-base16-light span.cm-variable-2{color:#6a9fb5}.cm-s-base16-light span.cm-def{color:#d28445}.cm-s-base16-light span.cm-bracket{color:#202020}.cm-s-base16-light span.cm-tag{color:#ac4142}.cm-s-base16-light span.cm-link{color:#aa759f}.cm-s-base16-light span.cm-error{background:#ac4142;color:#505050}.cm-s-base16-light .CodeMirror-activeline-background{background:#dddcdc}.cm-s-base16-light .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}</style><style type="text/css">.cm-s-base16-dark.CodeMirror{background:#151515;color:#e0e0e0}.cm-s-base16-dark div.CodeMirror-selected{background:#303030}.cm-s-base16-dark .CodeMirror-line::selection,.cm-s-base16-dark .CodeMirror-line>span::selection,.cm-s-base16-dark .CodeMirror-line>span>span::selection{background:rgba(48,48,48,.99)}.cm-s-base16-dark .CodeMirror-line::-moz-selection,.cm-s-base16-dark .CodeMirror-line>span::-moz-selection,.cm-s-base16-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(48,48,48,.99)}.cm-s-base16-dark .CodeMirror-gutters{background:#151515;border-right:0}.cm-s-base16-dark .CodeMirror-guttermarker{color:#ac4142}.cm-s-base16-dark .CodeMirror-guttermarker-subtle,.cm-s-base16-dark .CodeMirror-linenumber{color:#505050}.cm-s-base16-dark .CodeMirror-cursor{border-left:1px solid #b0b0b0}.cm-s-base16-dark span.cm-comment{color:#8f5536}.cm-s-base16-dark span.cm-atom,.cm-s-base16-dark span.cm-number{color:#aa759f}.cm-s-base16-dark span.cm-attribute,.cm-s-base16-dark span.cm-property{color:#90a959}.cm-s-base16-dark span.cm-keyword{color:#ac4142}.cm-s-base16-dark span.cm-string{color:#f4bf75}.cm-s-base16-dark span.cm-variable{color:#90a959}.cm-s-base16-dark span.cm-variable-2{color:#6a9fb5}.cm-s-base16-dark span.cm-def{color:#d28445}.cm-s-base16-dark span.cm-bracket{color:#e0e0e0}.cm-s-base16-dark span.cm-tag{color:#ac4142}.cm-s-base16-dark span.cm-link{color:#aa759f}.cm-s-base16-dark span.cm-error{background:#ac4142;color:#b0b0b0}.cm-s-base16-dark .CodeMirror-activeline-background{background:#202020}.cm-s-base16-dark .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}</style><style type="text/css">.cm-s-dracula.CodeMirror,.cm-s-dracula .CodeMirror-gutters{background-color:#282a36!important;color:#f8f8f2!important;border:none}.cm-s-dracula .CodeMirror-gutters{color:#282a36}.cm-s-dracula .CodeMirror-cursor{border-left:thin solid #f8f8f0}.cm-s-dracula .CodeMirror-linenumber{color:#6d8a88}.cm-s-dracula .CodeMirror-selected{background:hsla(0,0%,100%,.1)}.cm-s-dracula .CodeMirror-line::selection,.cm-s-dracula .CodeMirror-line>span::selection,.cm-s-dracula .CodeMirror-line>span>span::selection{background:hsla(0,0%,100%,.1)}.cm-s-dracula .CodeMirror-line::-moz-selection,.cm-s-dracula .CodeMirror-line>span::-moz-selection,.cm-s-dracula .CodeMirror-line>span>span::-moz-selection{background:hsla(0,0%,100%,.1)}.cm-s-dracula span.cm-comment{color:#6272a4}.cm-s-dracula span.cm-string,.cm-s-dracula span.cm-string-2{color:#f1fa8c}.cm-s-dracula span.cm-number{color:#bd93f9}.cm-s-dracula span.cm-variable{color:#50fa7b}.cm-s-dracula span.cm-variable-2{color:#fff}.cm-s-dracula span.cm-def{color:#50fa7b}.cm-s-dracula span.cm-keyword,.cm-s-dracula span.cm-operator{color:#ff79c6}.cm-s-dracula span.cm-atom{color:#bd93f9}.cm-s-dracula span.cm-meta{color:#f8f8f2}.cm-s-dracula span.cm-tag{color:#ff79c6}.cm-s-dracula span.cm-attribute,.cm-s-dracula span.cm-qualifier{color:#50fa7b}.cm-s-dracula span.cm-property{color:#66d9ef}.cm-s-dracula span.cm-builtin{color:#50fa7b}.cm-s-dracula span.cm-type,.cm-s-dracula span.cm-variable-3{color:#ffb86c}.cm-s-dracula .CodeMirror-activeline-background{background:hsla(0,0%,100%,.1)}.cm-s-dracula .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}</style><style type="text/css">.cm-s-hopscotch.CodeMirror{background:#322931;color:#d5d3d5}.cm-s-hopscotch div.CodeMirror-selected{background:#433b42!important}.cm-s-hopscotch .CodeMirror-gutters{background:#322931;border-right:0}.cm-s-hopscotch .CodeMirror-linenumber{color:#797379}.cm-s-hopscotch .CodeMirror-cursor{border-left:1px solid #989498!important}.cm-s-hopscotch span.cm-comment{color:#b33508}.cm-s-hopscotch span.cm-atom,.cm-s-hopscotch span.cm-number{color:#c85e7c}.cm-s-hopscotch span.cm-attribute,.cm-s-hopscotch span.cm-property{color:#8fc13e}.cm-s-hopscotch span.cm-keyword{color:#dd464c}.cm-s-hopscotch span.cm-string{color:#fdcc59}.cm-s-hopscotch span.cm-variable{color:#8fc13e}.cm-s-hopscotch span.cm-variable-2{color:#1290bf}.cm-s-hopscotch span.cm-def{color:#fd8b19}.cm-s-hopscotch span.cm-error{background:#dd464c;color:#989498}.cm-s-hopscotch span.cm-bracket{color:#d5d3d5}.cm-s-hopscotch span.cm-tag{color:#dd464c}.cm-s-hopscotch span.cm-link{color:#c85e7c}.cm-s-hopscotch .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-hopscotch .CodeMirror-activeline-background{background:#302020}</style><style type="text/css">.cm-s-mbo.CodeMirror{background:#2c2c2c;color:#ffffec}.cm-s-mbo div.CodeMirror-selected{background:#716c62}.cm-s-mbo .CodeMirror-line::selection,.cm-s-mbo .CodeMirror-line>span::selection,.cm-s-mbo .CodeMirror-line>span>span::selection{background:hsla(40,7%,41%,.99)}.cm-s-mbo .CodeMirror-line::-moz-selection,.cm-s-mbo .CodeMirror-line>span::-moz-selection,.cm-s-mbo .CodeMirror-line>span>span::-moz-selection{background:hsla(40,7%,41%,.99)}.cm-s-mbo .CodeMirror-gutters{background:#4e4e4e;border-right:0}.cm-s-mbo .CodeMirror-guttermarker{color:#fff}.cm-s-mbo .CodeMirror-guttermarker-subtle{color:grey}.cm-s-mbo .CodeMirror-linenumber{color:#dadada}.cm-s-mbo .CodeMirror-cursor{border-left:1px solid #ffffec}.cm-s-mbo span.cm-comment{color:#95958a}.cm-s-mbo span.cm-atom,.cm-s-mbo span.cm-number{color:#00a8c6}.cm-s-mbo span.cm-attribute,.cm-s-mbo span.cm-property{color:#9ddfe9}.cm-s-mbo span.cm-keyword{color:#ffb928}.cm-s-mbo span.cm-string{color:#ffcf6c}.cm-s-mbo span.cm-string.cm-property,.cm-s-mbo span.cm-variable{color:#ffffec}.cm-s-mbo span.cm-variable-2{color:#00a8c6}.cm-s-mbo span.cm-def{color:#ffffec}.cm-s-mbo span.cm-bracket{color:#fffffc;font-weight:700}.cm-s-mbo span.cm-tag{color:#9ddfe9}.cm-s-mbo span.cm-link{color:#f54b07}.cm-s-mbo span.cm-error{border-bottom:#636363;color:#ffffec}.cm-s-mbo span.cm-qualifier{color:#ffffec}.cm-s-mbo .CodeMirror-activeline-background{background:#494b41}.cm-s-mbo .CodeMirror-matchingbracket{color:#ffb928!important}.cm-s-mbo .CodeMirror-matchingtag{background:hsla(0,0%,100%,.37)}</style><style type="text/css">.cm-s-mdn-like.CodeMirror{color:#999;background-color:#fff}.cm-s-mdn-like div.CodeMirror-selected{background:#cfc}.cm-s-mdn-like .CodeMirror-line::selection,.cm-s-mdn-like .CodeMirror-line>span::selection,.cm-s-mdn-like .CodeMirror-line>span>span::selection{background:#cfc}.cm-s-mdn-like .CodeMirror-line::-moz-selection,.cm-s-mdn-like .CodeMirror-line>span::-moz-selection,.cm-s-mdn-like .CodeMirror-line>span>span::-moz-selection{background:#cfc}.cm-s-mdn-like .CodeMirror-gutters{background:#f8f8f8;border-left:6px solid rgba(0,83,159,.65);color:#333}.cm-s-mdn-like .CodeMirror-linenumber{color:#aaa;padding-left:8px}.cm-s-mdn-like .CodeMirror-cursor{border-left:2px solid #222}.cm-s-mdn-like .cm-keyword{color:#6262ff}.cm-s-mdn-like .cm-atom{color:#f90}.cm-s-mdn-like .cm-number{color:#ca7841}.cm-s-mdn-like .cm-def{color:#8da6ce}.cm-s-mdn-like span.cm-tag,.cm-s-mdn-like span.cm-variable-2{color:#690}.cm-s-mdn-like .cm-variable,.cm-s-mdn-like span.cm-def,.cm-s-mdn-like span.cm-type,.cm-s-mdn-like span.cm-variable-3{color:#07a}.cm-s-mdn-like .cm-property{color:#905}.cm-s-mdn-like .cm-qualifier{color:#690}.cm-s-mdn-like .cm-operator{color:#cda869}.cm-s-mdn-like .cm-comment{color:#777;font-weight:400}.cm-s-mdn-like .cm-string{color:#07a;font-style:italic}.cm-s-mdn-like .cm-string-2{color:#bd6b18}.cm-s-mdn-like .cm-meta{color:#000}.cm-s-mdn-like .cm-builtin{color:#9b7536}.cm-s-mdn-like .cm-tag{color:#997643}.cm-s-mdn-like .cm-attribute{color:#d6bb6d}.cm-s-mdn-like .cm-header{color:#ff6400}.cm-s-mdn-like .cm-hr{color:#aeaeae}.cm-s-mdn-like .cm-link{color:#ad9361;font-style:italic;text-decoration:none}.cm-s-mdn-like .cm-error{border-bottom:1px solid red}div.cm-s-mdn-like .CodeMirror-activeline-background{background:#efefff}div.cm-s-mdn-like span.CodeMirror-matchingbracket{outline:1px solid grey;color:inherit}.cm-s-mdn-like.CodeMirror{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAAAyCAYAAAAp8UeFAAAHvklEQVR42s2b63bcNgyEQZCSHCdt2vd/0tWF7I+Q6XgMXiTtuvU5Pl57ZQKkKHzEAOtF5KeIJBGJ8uvL599FRFREZhFx8DeXv8trn68RuGaC8TRfo3SNp9dlDDHedyLyTUTeRWStXKPZrjtpZxaRw5hPqozRs1N8/enzIiQRWcCgy4MUA0f+XWliDhyL8Lfyvx7ei/Ae3iQFHyw7U/59pQVIMEEPEz0G7XiwdRjzSfC3UTtz9vchIntxvry5iMgfIhJoEflOz2CQr3F5h/HfeFe+GTdLaKcu9L8LTeQb/R/7GgbsfKedyNdoHsN31uRPWrfZ5wsj/NzzRQHuToIdU3ahwnsKPxXCjJITuOsi7XLc7SG/v5GdALs7wf8JjTFiB5+QvTEfRyGOfX3Lrx8wxyQi3sNq46O7QahQiCsRFgqddjBouVEHOKDgXAQHD9gJCr5sMKkEdjwsarG/ww3BMHBU7OBjXnzdyY7SfCxf5/z6ATccrwlKuwC/jhznnPF4CgVzhhVf4xp2EixcBActO75iZ8/fM9zAs2OMzKdslgXWJ9XG8PQoOAMA5fGcsvORgv0doBXyHrCwfLJAOwo71QLNkb8n2Pl6EWiR7OCibtkPaz4Kc/0NNAze2gju3zOwekALDaCFPI5vjPFmgGY5AZqyGEvH1x7QfIb8YtxMnA/b+QQ0aQDAwc6JMFg8CbQZ4qoYEEHbRwNojuK3EHwd7VALSgq+MNDKzfT58T8qdpADrgW0GmgcAS1lhzztJmkAzcPNOQbsWEALBDSlMKUG0Eq4CLAQWvEVQ9WU57gZJwZtgPO3r9oBTQ9WO8TjqXINx8R0EYpiZEUWOF3FxkbJkgU9B2f41YBrIj5ZfsQa0M5kTgiAAqM3ShXLgu8XMqcrQBvJ0CL5pnTsfMB13oB8athpAq2XOQmcGmoACCLydx7nToa23ATaSIY2ichfOdPTGxlasXMLaL0MLZAOwAKIM+y8CmicobGdCcbbK9DzN+yYGVoNNI5iUKTMyYOjPse4A8SM1MmcXgU0toOq1yO/v8FOxlASyc7TgeYaAMBJHcY1CcCwGI/TK4AmDbDyKYBBtFUkRwto8gygiQEaByFgJ00BH2M8JWwQS1nafDXQCidWyOI8AcjDCSjCLk8ngObuAm3JAHAdubAmOaK06V8MNEsKPJOhobSprwQa6gD7DclRQdqcwL4zxqgBrQcabUiBLclRDKAlWp+etPkBaNMA0AKlrHwTdEByZAA4GM+SNluSY6wAzcMNewxmgig5Ks0nkrSpBvSaQHMdKTBAnLojOdYyGpQ254602ZILPdTD1hdlggdIm74jbTp8vDwF5ZYUeLWGJpWsh6XNyXgcYwVoJQTEhhTYkxzZjiU5npU2TaB979TQehlaAVq4kaGpiPwwwLkYUuBbQwocyQTv1tA0+1UFWoJF3iv1oq+qoSk8EQdJmwHkziIF7oOZk14EGitibAdjLYYK78H5vZOhtWpoI0ATGHs0Q8OMb4Ey+2bU2UYztCtA0wFAs7TplGLRVQCcqaFdGSPCeTI1QNIC52iWNzof6Uib7xjEp07mNNoUYmVosVItHrHzRlLgBn9LFyRHaQCtVUMbtTNhoXWiTOO9k/V8BdAc1Oq0ArSQs6/5SU0hckNy9NnXqQY0PGYo5dWJ7nINaN6o958FWin27aBaWRka1r5myvLOAm0j30eBJqCxHLReVclxhxOEN2JfDWjxBtAC7MIH1fVaGdoOp4qJYDgKtKPSFNID2gSnGldrCqkFZ+5UeQXQBIRrSwocbdZYQT/2LwRahBPBXoHrB8nxaGROST62DKUbQOMMzZIC9abkuELfQzQALWTnDNAm8KHWFOJgJ5+SHIvTPcmx1xQyZRhNL5Qci689aXMEaN/uNIWkEwDAvFpOZmgsBaaGnbs1NPa1Jm32gBZAIh1pCtG7TSH4aE0y1uVY4uqoFPisGlpP2rSA5qTecWn5agK6BzSpgAyD+wFaqhnYoSZ1Vwr8CmlTQbrcO3ZaX0NAEyMbYaAlyquFoLKK3SPby9CeVUPThrSJmkCAE0CrKUQadi4DrdSlWhmah0YL9z9vClH59YGbHx1J8VZTyAjQepJjmXwAKTDQI3omc3p1U4gDUf6RfcdYfrUp5ClAi2J3Ba6UOXGo+K+bQrjjssitG2SJzshaLwMtXgRagUNpYYoVkMSBLM+9GGiJZMvduG6DRZ4qc04DMPtQQxOjEtACmhO7K1AbNbQDEggZyJwscFpAGwENhoBeUwh3bWolhe8BTYVKxQEWrSUn/uhcM5KhvUu/+eQu0Lzhi+VrK0PrZZNDQKs9cpYUuFYgMVpD4/NxenJTiMCNqdUEUf1qZWjppLT5qSkkUZbCwkbZMSuVnu80hfSkzRbQeqCZSAh6huR4VtoM2gHAlLf72smuWgE+VV7XpE25Ab2WFDgyhnSuKbs4GuGzCjR+tIoUuMFg3kgcWKLTwRqanJQ2W00hAsenfaApRC42hbCvK1SlE0HtE9BGgneJO+ELamitD1YjjOYnNYVcraGhtKkW0EqVVeDx733I2NH581k1NNxNLG0i0IJ8/NjVaOZ0tYZ2Vtr0Xv7tPV3hkWp9EFkgS/J0vosngTaSoaG06WHi+xObQkaAdlbanP8B2+2l0f90LmUAAAAASUVORK5CYII=)}</style><style type="text/css">.cm-s-seti.CodeMirror{background-color:#151718!important;color:#cfd2d1!important;border:none}.cm-s-seti .CodeMirror-gutters{color:#404b53;background-color:#0e1112;border:none}.cm-s-seti .CodeMirror-cursor{border-left:thin solid #f8f8f0}.cm-s-seti .CodeMirror-linenumber{color:#6d8a88}.cm-s-seti.CodeMirror-focused div.CodeMirror-selected{background:hsla(0,0%,100%,.1)}.cm-s-seti .CodeMirror-line::selection,.cm-s-seti .CodeMirror-line>span::selection,.cm-s-seti .CodeMirror-line>span>span::selection{background:hsla(0,0%,100%,.1)}.cm-s-seti .CodeMirror-line::-moz-selection,.cm-s-seti .CodeMirror-line>span::-moz-selection,.cm-s-seti .CodeMirror-line>span>span::-moz-selection{background:hsla(0,0%,100%,.1)}.cm-s-seti span.cm-comment{color:#41535b}.cm-s-seti span.cm-string,.cm-s-seti span.cm-string-2{color:#55b5db}.cm-s-seti span.cm-number{color:#cd3f45}.cm-s-seti span.cm-variable{color:#55b5db}.cm-s-seti span.cm-variable-2{color:#a074c4}.cm-s-seti span.cm-def{color:#55b5db}.cm-s-seti span.cm-keyword{color:#ff79c6}.cm-s-seti span.cm-operator{color:#9fca56}.cm-s-seti span.cm-keyword{color:#e6cd69}.cm-s-seti span.cm-atom{color:#cd3f45}.cm-s-seti span.cm-meta,.cm-s-seti span.cm-tag{color:#55b5db}.cm-s-seti span.cm-attribute,.cm-s-seti span.cm-qualifier{color:#9fca56}.cm-s-seti span.cm-property{color:#a074c4}.cm-s-seti span.cm-builtin,.cm-s-seti span.cm-type,.cm-s-seti span.cm-variable-3{color:#9fca56}.cm-s-seti .CodeMirror-activeline-background{background:#101213}.cm-s-seti .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}</style><style type="text/css">.solarized.base03{color:#002b36}.solarized.base02{color:#073642}.solarized.base01{color:#586e75}.solarized.base00{color:#657b83}.solarized.base0{color:#839496}.solarized.base1{color:#93a1a1}.solarized.base2{color:#eee8d5}.solarized.base3{color:#fdf6e3}.solarized.solar-yellow{color:#b58900}.solarized.solar-orange{color:#cb4b16}.solarized.solar-red{color:#dc322f}.solarized.solar-magenta{color:#d33682}.solarized.solar-violet{color:#6c71c4}.solarized.solar-blue{color:#268bd2}.solarized.solar-cyan{color:#2aa198}.solarized.solar-green{color:#859900}.cm-s-solarized{line-height:1.45em;color-profile:sRGB;rendering-intent:auto}.cm-s-solarized.cm-s-dark{color:#839496;background-color:#002b36;text-shadow:#002b36 0 1px}.cm-s-solarized.cm-s-light{background-color:#fdf6e3;color:#657b83;text-shadow:#eee8d5 0 1px}.cm-s-solarized .CodeMirror-widget{text-shadow:none}.cm-s-solarized .cm-header{color:#586e75}.cm-s-solarized .cm-quote{color:#93a1a1}.cm-s-solarized .cm-keyword{color:#cb4b16}.cm-s-solarized .cm-atom,.cm-s-solarized .cm-number{color:#d33682}.cm-s-solarized .cm-def{color:#2aa198}.cm-s-solarized .cm-variable{color:#839496}.cm-s-solarized .cm-variable-2{color:#b58900}.cm-s-solarized .cm-type,.cm-s-solarized .cm-variable-3{color:#6c71c4}.cm-s-solarized .cm-property{color:#2aa198}.cm-s-solarized .cm-operator{color:#6c71c4}.cm-s-solarized .cm-comment{color:#586e75;font-style:italic}.cm-s-solarized .cm-string{color:#859900}.cm-s-solarized .cm-string-2{color:#b58900}.cm-s-solarized .cm-meta{color:#859900}.cm-s-solarized .cm-qualifier{color:#b58900}.cm-s-solarized .cm-builtin{color:#d33682}.cm-s-solarized .cm-bracket{color:#cb4b16}.cm-s-solarized .CodeMirror-matchingbracket{color:#859900}.cm-s-solarized .CodeMirror-nonmatchingbracket{color:#dc322f}.cm-s-solarized .cm-tag{color:#93a1a1}.cm-s-solarized .cm-attribute{color:#2aa198}.cm-s-solarized .cm-hr{color:transparent;border-top:1px solid #586e75;display:block}.cm-s-solarized .cm-link{color:#93a1a1;cursor:pointer}.cm-s-solarized .cm-special{color:#6c71c4}.cm-s-solarized .cm-em{color:#999;text-decoration:underline;text-decoration-style:dotted}.cm-s-solarized .cm-error,.cm-s-solarized .cm-invalidchar{color:#586e75;border-bottom:1px dotted #dc322f}.cm-s-solarized.cm-s-dark div.CodeMirror-selected{background:#073642}.cm-s-solarized.cm-s-dark.CodeMirror ::selection{background:rgba(7,54,66,.99)}.cm-s-dark .CodeMirror-line>span::-moz-selection,.cm-s-dark .CodeMirror-line>span>span::-moz-selection,.cm-s-solarized.cm-s-dark .CodeMirror-line::-moz-selection{background:rgba(7,54,66,.99)}.cm-s-solarized.cm-s-light div.CodeMirror-selected{background:#eee8d5}.cm-s-light .CodeMirror-line>span::selection,.cm-s-light .CodeMirror-line>span>span::selection,.cm-s-solarized.cm-s-light .CodeMirror-line::selection{background:#eee8d5}.cm-s-ligh .CodeMirror-line>span::-moz-selection,.cm-s-ligh .CodeMirror-line>span>span::-moz-selection,.cm-s-solarized.cm-s-light .CodeMirror-line::-moz-selection{background:#eee8d5}.cm-s-solarized.CodeMirror{-moz-box-shadow:inset 7px 0 12px -6px #000;-webkit-box-shadow:inset 7px 0 12px -6px #000;box-shadow:inset 7px 0 12px -6px #000}.cm-s-solarized .CodeMirror-gutters{border-right:0}.cm-s-solarized.cm-s-dark .CodeMirror-gutters{background-color:#073642}.cm-s-solarized.cm-s-dark .CodeMirror-linenumber{color:#586e75;text-shadow:#021014 0 -1px}.cm-s-solarized.cm-s-light .CodeMirror-gutters{background-color:#eee8d5}.cm-s-solarized.cm-s-light .CodeMirror-linenumber{color:#839496}.cm-s-solarized .CodeMirror-linenumber{padding:0 5px}.cm-s-solarized .CodeMirror-guttermarker-subtle{color:#586e75}.cm-s-solarized.cm-s-dark .CodeMirror-guttermarker{color:#ddd}.cm-s-solarized.cm-s-light .CodeMirror-guttermarker{color:#cb4b16}.cm-s-solarized .CodeMirror-gutter .CodeMirror-gutter-text{color:#586e75}.cm-s-solarized .CodeMirror-cursor{border-left:1px solid #819090}.cm-s-solarized.cm-s-light.cm-fat-cursor .CodeMirror-cursor{background:#7e7}.cm-s-solarized.cm-s-light .cm-animate-fat-cursor{background-color:#7e7}.cm-s-solarized.cm-s-dark.cm-fat-cursor .CodeMirror-cursor{background:#586e75}.cm-s-solarized.cm-s-dark .cm-animate-fat-cursor{background-color:#586e75}.cm-s-solarized.cm-s-dark .CodeMirror-activeline-background{background:hsla(0,0%,100%,.06)}.cm-s-solarized.cm-s-light .CodeMirror-activeline-background{background:rgba(0,0,0,.06)}</style><style type="text/css">.cm-s-the-matrix.CodeMirror{background:#000;color:#0f0}.cm-s-the-matrix div.CodeMirror-selected{background:#2d2d2d}.cm-s-the-matrix .CodeMirror-line::selection,.cm-s-the-matrix .CodeMirror-line>span::selection,.cm-s-the-matrix .CodeMirror-line>span>span::selection{background:rgba(45,45,45,.99)}.cm-s-the-matrix .CodeMirror-line::-moz-selection,.cm-s-the-matrix .CodeMirror-line>span::-moz-selection,.cm-s-the-matrix .CodeMirror-line>span>span::-moz-selection{background:rgba(45,45,45,.99)}.cm-s-the-matrix .CodeMirror-gutters{background:#060;border-right:2px solid #0f0}.cm-s-the-matrix .CodeMirror-guttermarker{color:#0f0}.cm-s-the-matrix .CodeMirror-guttermarker-subtle,.cm-s-the-matrix .CodeMirror-linenumber{color:#fff}.cm-s-the-matrix .CodeMirror-cursor{border-left:1px solid #0f0}.cm-s-the-matrix span.cm-keyword{color:#008803;font-weight:700}.cm-s-the-matrix span.cm-atom{color:#3ff}.cm-s-the-matrix span.cm-number{color:#ffb94f}.cm-s-the-matrix span.cm-def{color:#99c}.cm-s-the-matrix span.cm-variable{color:#f6c}.cm-s-the-matrix span.cm-variable-2{color:#c6f}.cm-s-the-matrix span.cm-type,.cm-s-the-matrix span.cm-variable-3{color:#96f}.cm-s-the-matrix span.cm-property{color:#62ffa0}.cm-s-the-matrix span.cm-operator{color:#999}.cm-s-the-matrix span.cm-comment{color:#ccc}.cm-s-the-matrix span.cm-string{color:#39c}.cm-s-the-matrix span.cm-meta{color:#c9f}.cm-s-the-matrix span.cm-qualifier{color:#fff700}.cm-s-the-matrix span.cm-builtin{color:#30a}.cm-s-the-matrix span.cm-bracket{color:#cc7}.cm-s-the-matrix span.cm-tag{color:#ffbd40}.cm-s-the-matrix span.cm-attribute{color:#fff700}.cm-s-the-matrix span.cm-error{color:red}.cm-s-the-matrix .CodeMirror-activeline-background{background:#040}</style><style type="text/css">.cm-s-xq-light span.cm-keyword{line-height:1em;font-weight:700;color:#5a5cad}.cm-s-xq-light span.cm-atom{color:#6c8cd5}.cm-s-xq-light span.cm-number{color:#164}.cm-s-xq-light span.cm-def{text-decoration:underline}.cm-s-xq-light span.cm-type,.cm-s-xq-light span.cm-variable,.cm-s-xq-light span.cm-variable-2,.cm-s-xq-light span.cm-variable-3{color:#000}.cm-s-xq-light span.cm-comment{color:#0080ff;font-style:italic}.cm-s-xq-light span.cm-string{color:red}.cm-s-xq-light span.cm-meta{color:#ff0}.cm-s-xq-light span.cm-qualifier{color:grey}.cm-s-xq-light span.cm-builtin{color:#7ea656}.cm-s-xq-light span.cm-bracket{color:#cc7}.cm-s-xq-light span.cm-tag{color:#3f7f7f}.cm-s-xq-light span.cm-attribute{color:#7f007f}.cm-s-xq-light span.cm-error{color:red}.cm-s-xq-light .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-xq-light .CodeMirror-matchingbracket{outline:1px solid grey;color:#000!important;background:#ff0}</style><style type="text/css">.CodeMirror{line-height:var(--jp-code-line-height);font-size:var(--jp-code-font-size);font-family:var(--jp-code-font-family);height:auto}.CodeMirror pre{padding:0;border:0;border-radius:0}.jp-CodeMirrorEditor[data-type=inline] .CodeMirror-dialog{background-color:var(--jp-layout-color0);color:var(--jp-content-font-color1)}.CodeMirror-lines{padding:var(--jp-code-padding)}.CodeMirror-linenumbers{padding:0 4px}.jp-CodeMirrorEditor-static{margin:var(--jp-code-padding)}.jp-CodeMirrorEditor,.jp-CodeMirrorEditor-static{cursor:text}.jp-CodeMirrorEditor[data-type=inline] .CodeMirror-cursor{border-left:1.4px solid var(--jp-editor-cursor-color)}@media screen and (min-width:2138px) and (max-width:4319px){.jp-CodeMirrorEditor[data-type=inline] .CodeMirror-cursor{border-left:2px solid var(--jp-editor-cursor-color)}}@media screen and (min-width:4320px){.jp-CodeMirrorEditor[data-type=inline] .CodeMirror-cursor{border-left:4px solid var(--jp-editor-cursor-color)}}.CodeMirror.jp-mod-readOnly .CodeMirror-cursor{display:none}.CodeMirror-gutters{border-right:1px solid var(--jp-border-color2);background-color:var(--jp-layout-color2)}.CodeMirror-gutter-wrapper{margin-left:calc(-1 * var(--jp-code-padding))}.jp-CollaboratorCursor{border-left:5px solid transparent;border-right:5px solid transparent;border-top:none;border-bottom:3px solid;background-clip:content-box;margin-left:-5px;margin-right:-5px}.CodeMirror-focused .CodeMirror-selected{background-color:var(--jp-editor-selected-focused-background)}.CodeMirror-selected{background-color:var(--jp-editor-selected-background)}.jp-CollaboratorCursor-hover{position:absolute;z-index:1;transform:translateX(-50%);color:#fff;border-radius:3px;padding:1px 4px;text-align:center;font-size:var(--jp-ui-font-size1);white-space:nowrap}.CodeMirror.cm-s-jupyter{background:var(--jp-layout-color0);color:var(--jp-content-font-color1)}.jp-CodeConsole .CodeMirror.cm-s-jupyter,.jp-Notebook .CodeMirror.cm-s-jupyter{background:transparent}.cm-s-jupyter .CodeMirror-cursor{border-left:1.4px solid var(--jp-editor-cursor-color)}.cm-s-jupyter span.cm-keyword{color:var(--jp-mirror-editor-keyword-color);font-weight:700}.cm-s-jupyter span.cm-atom{color:var(--jp-mirror-editor-atom-color)}.cm-s-jupyter span.cm-number{color:var(--jp-mirror-editor-number-color)}.cm-s-jupyter span.cm-def{color:var(--jp-mirror-editor-def-color)}.cm-s-jupyter span.cm-variable{color:var(--jp-mirror-editor-variable-color)}.cm-s-jupyter span.cm-variable-2{color:var(--jp-mirror-editor-variable-2-color)}.cm-s-jupyter span.cm-variable-3{color:var(--jp-mirror-editor-variable-3-color)}.cm-s-jupyter span.cm-punctuation{color:var(--jp-mirror-editor-punctuation-color)}.cm-s-jupyter span.cm-property{color:var(--jp-mirror-editor-property-color)}.cm-s-jupyter span.cm-operator{color:var(--jp-mirror-editor-operator-color);font-weight:700}.cm-s-jupyter span.cm-comment{color:var(--jp-mirror-editor-comment-color);font-style:italic}.cm-s-jupyter span.cm-string{color:var(--jp-mirror-editor-string-color)}.cm-s-jupyter span.cm-string-2{color:var(--jp-mirror-editor-string-2-color)}.cm-s-jupyter span.cm-meta{color:var(--jp-mirror-editor-meta-color)}.cm-s-jupyter span.cm-qualifier{color:var(--jp-mirror-editor-qualifier-color)}.cm-s-jupyter span.cm-builtin{color:var(--jp-mirror-editor-builtin-color)}.cm-s-jupyter span.cm-bracket{color:var(--jp-mirror-editor-bracket-color)}.cm-s-jupyter span.cm-tag{color:var(--jp-mirror-editor-tag-color)}.cm-s-jupyter span.cm-attribute{color:var(--jp-mirror-editor-attribute-color)}.cm-s-jupyter span.cm-header{color:var(--jp-mirror-editor-header-color)}.cm-s-jupyter span.cm-quote{color:var(--jp-mirror-editor-quote-color)}.cm-s-jupyter span.cm-link{color:var(--jp-mirror-editor-link-color)}.cm-s-jupyter span.cm-error{color:var(--jp-mirror-editor-error-color)}.cm-s-jupyter span.cm-hr{color:#999}.cm-s-jupyter span.cm-tab{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);background-position:100%;background-repeat:no-repeat}</style><style type="text/css">.jp-OutputArea{overflow-y:auto}.jp-OutputArea-child{display:flex;flex-direction:row}.jp-OutputPrompt{flex:0 0 var(--jp-cell-prompt-width);color:var(--jp-cell-outprompt-font-color);font-family:var(--jp-cell-prompt-font-family);padding:var(--jp-code-padding);letter-spacing:var(--jp-cell-prompt-letter-spacing);line-height:var(--jp-code-line-height);font-size:var(--jp-code-font-size);border:var(--jp-border-width) solid transparent;opacity:var(--jp-cell-prompt-opacity);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jp-OutputArea-output{height:auto;overflow-x:auto;user-select:text;-moz-user-select:text;-webkit-user-select:text;-ms-user-select:text}.jp-OutputArea-child .jp-OutputArea-output{flex-grow:1;flex-shrink:1}.jp-OutputArea-output.jp-mod-isolated{width:100%;display:block}body.p-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated{position:relative}body.p-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:transparent}.jp-OutputArea-output pre{border:none;margin:0;padding:0;overflow-x:auto;overflow-y:auto;word-break:break-all;word-wrap:break-word;white-space:pre-wrap}.jp-OutputArea-output.jp-RenderedHTMLCommon table{margin-left:0;margin-right:0}.jp-OutputArea .jp-OutputArea .jp-OutputArea-prompt{display:none}.jp-OutputArea-output.jp-OutputArea-executeResult{margin-left:0;flex:1 1 auto}.jp-OutputArea-executeResult.jp-RenderedText,.jp-OutputArea-stdin{padding-top:var(--jp-code-padding)}.jp-OutputArea-stdin{line-height:var(--jp-code-line-height);display:flex}.jp-Stdin-prompt{color:var(--jp-content-font-color0);padding-right:var(--jp-code-padding);vertical-align:baseline;flex:0 0 auto}.jp-Stdin-input{font-family:var(--jp-code-font-family);font-size:inherit;color:inherit;background-color:inherit;width:auto;vertical-align:baseline;padding:0 .25em;margin:0 .25em;flex:0 0 70%}.jp-Stdin-input:focus{box-shadow:none}</style><style type="text/css">.p-Widget{box-sizing:border-box;position:relative;overflow:hidden;cursor:default}.p-Widget.p-mod-hidden{display:none!important}</style><style type="text/css">.p-CommandPalette{display:flex;flex-direction:column;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-CommandPalette-search{flex:0 0 auto}.p-CommandPalette-content{flex:1 1 auto;margin:0;padding:0;min-height:0;overflow:auto;list-style-type:none}.p-CommandPalette-header{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.p-CommandPalette-item{display:flex;flex-direction:row}.p-CommandPalette-itemIcon{flex:0 0 auto}.p-CommandPalette-itemContent{flex:1 1 auto}.p-CommandPalette-itemShortcut{flex:0 0 auto}.p-CommandPalette-itemLabel{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}</style><style type="text/css">.p-DockPanel,.p-DockPanel-widget{z-index:0}.p-DockPanel-tabBar{z-index:1}.p-DockPanel-handle{z-index:2}.p-DockPanel-handle.p-mod-hidden{display:none!important}.p-DockPanel-handle:after{position:absolute;top:0;left:0;width:100%;height:100%;content:""}.p-DockPanel-handle[data-orientation=horizontal]{cursor:ew-resize}.p-DockPanel-handle[data-orientation=vertical]{cursor:ns-resize}.p-DockPanel-handle[data-orientation=horizontal]:after{left:50%;min-width:8px;transform:translateX(-50%)}.p-DockPanel-handle[data-orientation=vertical]:after{top:50%;min-height:8px;transform:translateY(-50%)}.p-DockPanel-overlay{z-index:3;box-sizing:border-box;pointer-events:none}.p-DockPanel-overlay.p-mod-hidden{display:none!important}</style><style type="text/css">.p-Menu{z-index:10000;position:absolute;white-space:nowrap;overflow-x:hidden;overflow-y:auto;outline:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-Menu-content{margin:0;padding:0;display:table;list-style-type:none}.p-Menu-item{display:table-row}.p-Menu-item.p-mod-collapsed,.p-Menu-item.p-mod-hidden{display:none!important}.p-Menu-itemIcon,.p-Menu-itemSubmenuIcon{display:table-cell;text-align:center}.p-Menu-itemLabel{display:table-cell;text-align:left}.p-Menu-itemShortcut{display:table-cell;text-align:right}</style><style type="text/css">.p-MenuBar{outline:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-MenuBar-content{margin:0;padding:0;display:flex;flex-direction:row;list-style-type:none}.p-MenuBar-item{box-sizing:border-box}.p-MenuBar-itemIcon,.p-MenuBar-itemLabel{display:inline-block}</style><style type="text/css">.p-ScrollBar{display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-ScrollBar[data-orientation=horizontal]{flex-direction:row}.p-ScrollBar[data-orientation=vertical]{flex-direction:column}.p-ScrollBar-button{box-sizing:border-box;flex:0 0 auto}.p-ScrollBar-track{box-sizing:border-box;position:relative;overflow:hidden;flex:1 1 auto}.p-ScrollBar-thumb{box-sizing:border-box;position:absolute}</style><style type="text/css">.p-SplitPanel-child{z-index:0}.p-SplitPanel-handle{z-index:1}.p-SplitPanel-handle.p-mod-hidden{display:none!important}.p-SplitPanel-handle:after{position:absolute;top:0;left:0;width:100%;height:100%;content:""}.p-SplitPanel[data-orientation=horizontal]>.p-SplitPanel-handle{cursor:ew-resize}.p-SplitPanel[data-orientation=vertical]>.p-SplitPanel-handle{cursor:ns-resize}.p-SplitPanel[data-orientation=horizontal]>.p-SplitPanel-handle:after{left:50%;min-width:8px;transform:translateX(-50%)}.p-SplitPanel[data-orientation=vertical]>.p-SplitPanel-handle:after{top:50%;min-height:8px;transform:translateY(-50%)}</style><style type="text/css">.p-TabBar{display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-TabBar[data-orientation=horizontal]{flex-direction:row}.p-TabBar[data-orientation=vertical]{flex-direction:column}.p-TabBar-content{margin:0;padding:0;display:flex;flex:1 1 auto;list-style-type:none}.p-TabBar[data-orientation=horizontal]>.p-TabBar-content{flex-direction:row}.p-TabBar[data-orientation=vertical]>.p-TabBar-content{flex-direction:column}.p-TabBar-tab{display:flex;flex-direction:row;box-sizing:border-box;overflow:hidden}.p-TabBar-tabCloseIcon,.p-TabBar-tabIcon{flex:0 0 auto}.p-TabBar-tabLabel{flex:1 1 auto;overflow:hidden;white-space:nowrap}.p-TabBar-tab.p-mod-hidden{display:none!important}.p-TabBar.p-mod-dragging .p-TabBar-tab{position:relative}.p-TabBar.p-mod-dragging[data-orientation=horizontal] .p-TabBar-tab{left:0;transition:left .15s ease}.p-TabBar.p-mod-dragging[data-orientation=vertical] .p-TabBar-tab{top:0;transition:top .15s ease}.p-TabBar.p-mod-dragging .p-TabBar-tab.p-mod-dragging{transition:none}</style><style type="text/css">.p-TabPanel-tabBar{z-index:1}.p-TabPanel-stackedPanel{z-index:0}</style><style type="text/css"></style><style type="text/css">body.p-mod-override-cursor *{cursor:inherit!important}</style><style type="text/css">:root{--md-red-50:#ffebee;--md-red-100:#ffcdd2;--md-red-200:#ef9a9a;--md-red-300:#e57373;--md-red-400:#ef5350;--md-red-500:#f44336;--md-red-600:#e53935;--md-red-700:#d32f2f;--md-red-800:#c62828;--md-red-900:#b71c1c;--md-red-A100:#ff8a80;--md-red-A200:#ff5252;--md-red-A400:#ff1744;--md-red-A700:#d50000;--md-pink-50:#fce4ec;--md-pink-100:#f8bbd0;--md-pink-200:#f48fb1;--md-pink-300:#f06292;--md-pink-400:#ec407a;--md-pink-500:#e91e63;--md-pink-600:#d81b60;--md-pink-700:#c2185b;--md-pink-800:#ad1457;--md-pink-900:#880e4f;--md-pink-A100:#ff80ab;--md-pink-A200:#ff4081;--md-pink-A400:#f50057;--md-pink-A700:#c51162;--md-purple-50:#f3e5f5;--md-purple-100:#e1bee7;--md-purple-200:#ce93d8;--md-purple-300:#ba68c8;--md-purple-400:#ab47bc;--md-purple-500:#9c27b0;--md-purple-600:#8e24aa;--md-purple-700:#7b1fa2;--md-purple-800:#6a1b9a;--md-purple-900:#4a148c;--md-purple-A100:#ea80fc;--md-purple-A200:#e040fb;--md-purple-A400:#d500f9;--md-purple-A700:#a0f;--md-deep-purple-50:#ede7f6;--md-deep-purple-100:#d1c4e9;--md-deep-purple-200:#b39ddb;--md-deep-purple-300:#9575cd;--md-deep-purple-400:#7e57c2;--md-deep-purple-500:#673ab7;--md-deep-purple-600:#5e35b1;--md-deep-purple-700:#512da8;--md-deep-purple-800:#4527a0;--md-deep-purple-900:#311b92;--md-deep-purple-A100:#b388ff;--md-deep-purple-A200:#7c4dff;--md-deep-purple-A400:#651fff;--md-deep-purple-A700:#6200ea;--md-indigo-50:#e8eaf6;--md-indigo-100:#c5cae9;--md-indigo-200:#9fa8da;--md-indigo-300:#7986cb;--md-indigo-400:#5c6bc0;--md-indigo-500:#3f51b5;--md-indigo-600:#3949ab;--md-indigo-700:#303f9f;--md-indigo-800:#283593;--md-indigo-900:#1a237e;--md-indigo-A100:#8c9eff;--md-indigo-A200:#536dfe;--md-indigo-A400:#3d5afe;--md-indigo-A700:#304ffe;--md-blue-50:#e3f2fd;--md-blue-100:#bbdefb;--md-blue-200:#90caf9;--md-blue-300:#64b5f6;--md-blue-400:#42a5f5;--md-blue-500:#2196f3;--md-blue-600:#1e88e5;--md-blue-700:#1976d2;--md-blue-800:#1565c0;--md-blue-900:#0d47a1;--md-blue-A100:#82b1ff;--md-blue-A200:#448aff;--md-blue-A400:#2979ff;--md-blue-A700:#2962ff;--md-light-blue-50:#e1f5fe;--md-light-blue-100:#b3e5fc;--md-light-blue-200:#81d4fa;--md-light-blue-300:#4fc3f7;--md-light-blue-400:#29b6f6;--md-light-blue-500:#03a9f4;--md-light-blue-600:#039be5;--md-light-blue-700:#0288d1;--md-light-blue-800:#0277bd;--md-light-blue-900:#01579b;--md-light-blue-A100:#80d8ff;--md-light-blue-A200:#40c4ff;--md-light-blue-A400:#00b0ff;--md-light-blue-A700:#0091ea;--md-cyan-50:#e0f7fa;--md-cyan-100:#b2ebf2;--md-cyan-200:#80deea;--md-cyan-300:#4dd0e1;--md-cyan-400:#26c6da;--md-cyan-500:#00bcd4;--md-cyan-600:#00acc1;--md-cyan-700:#0097a7;--md-cyan-800:#00838f;--md-cyan-900:#006064;--md-cyan-A100:#84ffff;--md-cyan-A200:#18ffff;--md-cyan-A400:#00e5ff;--md-cyan-A700:#00b8d4;--md-teal-50:#e0f2f1;--md-teal-100:#b2dfdb;--md-teal-200:#80cbc4;--md-teal-300:#4db6ac;--md-teal-400:#26a69a;--md-teal-500:#009688;--md-teal-600:#00897b;--md-teal-700:#00796b;--md-teal-800:#00695c;--md-teal-900:#004d40;--md-teal-A100:#a7ffeb;--md-teal-A200:#64ffda;--md-teal-A400:#1de9b6;--md-teal-A700:#00bfa5;--md-green-50:#e8f5e9;--md-green-100:#c8e6c9;--md-green-200:#a5d6a7;--md-green-300:#81c784;--md-green-400:#66bb6a;--md-green-500:#4caf50;--md-green-600:#43a047;--md-green-700:#388e3c;--md-green-800:#2e7d32;--md-green-900:#1b5e20;--md-green-A100:#b9f6ca;--md-green-A200:#69f0ae;--md-green-A400:#00e676;--md-green-A700:#00c853;--md-light-green-50:#f1f8e9;--md-light-green-100:#dcedc8;--md-light-green-200:#c5e1a5;--md-light-green-300:#aed581;--md-light-green-400:#9ccc65;--md-light-green-500:#8bc34a;--md-light-green-600:#7cb342;--md-light-green-700:#689f38;--md-light-green-800:#558b2f;--md-light-green-900:#33691e;--md-light-green-A100:#ccff90;--md-light-green-A200:#b2ff59;--md-light-green-A400:#76ff03;--md-light-green-A700:#64dd17;--md-lime-50:#f9fbe7;--md-lime-100:#f0f4c3;--md-lime-200:#e6ee9c;--md-lime-300:#dce775;--md-lime-400:#d4e157;--md-lime-500:#cddc39;--md-lime-600:#c0ca33;--md-lime-700:#afb42b;--md-lime-800:#9e9d24;--md-lime-900:#827717;--md-lime-A100:#f4ff81;--md-lime-A200:#eeff41;--md-lime-A400:#c6ff00;--md-lime-A700:#aeea00;--md-yellow-50:#fffde7;--md-yellow-100:#fff9c4;--md-yellow-200:#fff59d;--md-yellow-300:#fff176;--md-yellow-400:#ffee58;--md-yellow-500:#ffeb3b;--md-yellow-600:#fdd835;--md-yellow-700:#fbc02d;--md-yellow-800:#f9a825;--md-yellow-900:#f57f17;--md-yellow-A100:#ffff8d;--md-yellow-A200:#ff0;--md-yellow-A400:#ffea00;--md-yellow-A700:#ffd600;--md-amber-50:#fff8e1;--md-amber-100:#ffecb3;--md-amber-200:#ffe082;--md-amber-300:#ffd54f;--md-amber-400:#ffca28;--md-amber-500:#ffc107;--md-amber-600:#ffb300;--md-amber-700:#ffa000;--md-amber-800:#ff8f00;--md-amber-900:#ff6f00;--md-amber-A100:#ffe57f;--md-amber-A200:#ffd740;--md-amber-A400:#ffc400;--md-amber-A700:#ffab00;--md-orange-50:#fff3e0;--md-orange-100:#ffe0b2;--md-orange-200:#ffcc80;--md-orange-300:#ffb74d;--md-orange-400:#ffa726;--md-orange-500:#ff9800;--md-orange-600:#fb8c00;--md-orange-700:#f57c00;--md-orange-800:#ef6c00;--md-orange-900:#e65100;--md-orange-A100:#ffd180;--md-orange-A200:#ffab40;--md-orange-A400:#ff9100;--md-orange-A700:#ff6d00;--md-deep-orange-50:#fbe9e7;--md-deep-orange-100:#ffccbc;--md-deep-orange-200:#ffab91;--md-deep-orange-300:#ff8a65;--md-deep-orange-400:#ff7043;--md-deep-orange-500:#ff5722;--md-deep-orange-600:#f4511e;--md-deep-orange-700:#e64a19;--md-deep-orange-800:#d84315;--md-deep-orange-900:#bf360c;--md-deep-orange-A100:#ff9e80;--md-deep-orange-A200:#ff6e40;--md-deep-orange-A400:#ff3d00;--md-deep-orange-A700:#dd2c00;--md-brown-50:#efebe9;--md-brown-100:#d7ccc8;--md-brown-200:#bcaaa4;--md-brown-300:#a1887f;--md-brown-400:#8d6e63;--md-brown-500:#795548;--md-brown-600:#6d4c41;--md-brown-700:#5d4037;--md-brown-800:#4e342e;--md-brown-900:#3e2723;--md-grey-50:#fafafa;--md-grey-100:#f5f5f5;--md-grey-200:#eee;--md-grey-300:#e0e0e0;--md-grey-400:#bdbdbd;--md-grey-500:#9e9e9e;--md-grey-600:#757575;--md-grey-700:#616161;--md-grey-800:#424242;--md-grey-900:#212121;--md-blue-grey-50:#eceff1;--md-blue-grey-100:#cfd8dc;--md-blue-grey-200:#b0bec5;--md-blue-grey-300:#90a4ae;--md-blue-grey-400:#78909c;--md-blue-grey-500:#607d8b;--md-blue-grey-600:#546e7a;--md-blue-grey-700:#455a64;--md-blue-grey-800:#37474f;--md-blue-grey-900:#263238}</style><style type="text/css">@font-face{font-family:Source Code Pro;src:url(./static/43bb4cbf1d0ecfdb1309e4cb67264f35.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:Source Code Pro;src:url(./static/5a0856eb52623ae94b09dbbf31a27b95.ttf) format("truetype");font-weight:700;font-style:normal}:root{--jp-shadow-base-lightness:0;--jp-shadow-umbra-color:rgba(var(--jp-shadow-base-lightness),var(--jp-shadow-base-lightness),var(--jp-shadow-base-lightness),0.2);--jp-shadow-penumbra-color:rgba(var(--jp-shadow-base-lightness),var(--jp-shadow-base-lightness),var(--jp-shadow-base-lightness),0.14);--jp-shadow-ambient-color:rgba(var(--jp-shadow-base-lightness),var(--jp-shadow-base-lightness),var(--jp-shadow-base-lightness),0.12);--jp-elevation-z0:none;--jp-elevation-z1:0px 2px 1px -1px var(--jp-shadow-umbra-color),0px 1px 1px 0px var(--jp-shadow-penumbra-color),0px 1px 3px 0px var(--jp-shadow-ambient-color);--jp-elevation-z2:0px 3px 1px -2px var(--jp-shadow-umbra-color),0px 2px 2px 0px var(--jp-shadow-penumbra-color),0px 1px 5px 0px var(--jp-shadow-ambient-color);--jp-elevation-z4:0px 2px 4px -1px var(--jp-shadow-umbra-color),0px 4px 5px 0px var(--jp-shadow-penumbra-color),0px 1px 10px 0px var(--jp-shadow-ambient-color);--jp-elevation-z6:0px 3px 5px -1px var(--jp-shadow-umbra-color),0px 6px 10px 0px var(--jp-shadow-penumbra-color),0px 1px 18px 0px var(--jp-shadow-ambient-color);--jp-elevation-z8:0px 5px 5px -3px var(--jp-shadow-umbra-color),0px 8px 10px 1px var(--jp-shadow-penumbra-color),0px 3px 14px 2px var(--jp-shadow-ambient-color);--jp-elevation-z12:0px 7px 8px -4px var(--jp-shadow-umbra-color),0px 12px 17px 2px var(--jp-shadow-penumbra-color),0px 5px 22px 4px var(--jp-shadow-ambient-color);--jp-elevation-z16:0px 8px 10px -5px var(--jp-shadow-umbra-color),0px 16px 24px 2px var(--jp-shadow-penumbra-color),0px 6px 30px 5px var(--jp-shadow-ambient-color);--jp-elevation-z20:0px 10px 13px -6px var(--jp-shadow-umbra-color),0px 20px 31px 3px var(--jp-shadow-penumbra-color),0px 8px 38px 7px var(--jp-shadow-ambient-color);--jp-elevation-z24:0px 11px 15px -7px var(--jp-shadow-umbra-color),0px 24px 38px 3px var(--jp-shadow-penumbra-color),0px 9px 46px 8px var(--jp-shadow-ambient-color);--jp-border-width:1px;--jp-border-color0:var(--md-grey-400);--jp-border-color1:var(--md-grey-400);--jp-border-color2:var(--md-grey-300);--jp-border-color3:var(--md-grey-200);--jp-border-radius:2px;--jp-ui-font-scale-factor:1.2;--jp-ui-font-size0:0.83333em;--jp-ui-font-size1:13px;--jp-ui-font-size2:1.2em;--jp-ui-font-size3:1.44em;--jp-ui-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--jp-ui-font-color0:#000;--jp-ui-font-color1:rgba(0,0,0,.87);--jp-ui-font-color2:rgba(0,0,0,.54);--jp-ui-font-color3:rgba(0,0,0,.38);--jp-ui-inverse-font-color0:#fff;--jp-ui-inverse-font-color1:#fff;--jp-ui-inverse-font-color2:hsla(0,0%,100%,.7);--jp-ui-inverse-font-color3:hsla(0,0%,100%,.5);--jp-content-line-height:1.6;--jp-content-font-scale-factor:1.2;--jp-content-font-size0:0.83333em;--jp-content-font-size1:14px;--jp-content-font-size2:1.2em;--jp-content-font-size3:1.44em;--jp-content-font-size4:1.728em;--jp-content-font-size5:2.0736em;--jp-content-presentation-font-size1:17px;--jp-content-heading-line-height:1;--jp-content-heading-margin-top:1.2em;--jp-content-heading-margin-bottom:0.8em;--jp-content-heading-font-weight:500;--jp-content-font-color0:#000;--jp-content-font-color1:rgba(0,0,0,.87);--jp-content-font-color2:rgba(0,0,0,.54);--jp-content-font-color3:rgba(0,0,0,.38);--jp-content-link-color:var(--md-blue-700);--jp-content-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--jp-code-font-size:13px;--jp-code-line-height:1.3077;--jp-code-padding:0.385em;--jp-code-font-family:"Source Code Pro",monospace;--jp-code-presentation-font-size:16px;--jp-layout-color0:#fff;--jp-layout-color1:#fff;--jp-layout-color2:var(--md-grey-200);--jp-layout-color3:var(--md-grey-400);--jp-layout-color4:var(--md-grey-600);--jp-brand-color0:var(--md-blue-700);--jp-brand-color1:var(--md-blue-500);--jp-brand-color2:var(--md-blue-300);--jp-brand-color3:var(--md-blue-100);--jp-accent-color0:var(--md-green-700);--jp-accent-color1:var(--md-green-500);--jp-accent-color2:var(--md-green-300);--jp-accent-color3:var(--md-green-100);--jp-warn-color0:var(--md-orange-700);--jp-warn-color1:var(--md-orange-500);--jp-warn-color2:var(--md-orange-300);--jp-warn-color3:var(--md-orange-100);--jp-error-color0:var(--md-red-700);--jp-error-color1:var(--md-red-500);--jp-error-color2:var(--md-red-300);--jp-error-color3:var(--md-red-100);--jp-success-color0:var(--md-green-700);--jp-success-color1:var(--md-green-500);--jp-success-color2:var(--md-green-300);--jp-success-color3:var(--md-green-100);--jp-info-color0:var(--md-cyan-700);--jp-info-color1:var(--md-cyan-500);--jp-info-color2:var(--md-cyan-300);--jp-info-color3:var(--md-cyan-100);--jp-cell-padding:5px;--jp-cell-collapser-width:8px;--jp-cell-collapser-min-height:20px;--jp-cell-collapser-not-active-hover-opacity:0.6;--jp-cell-editor-background:var(--md-grey-100);--jp-cell-editor-border-color:var(--md-grey-300);--jp-cell-editor-box-shadow:inset 0 0 2px var(--md-blue-300);--jp-cell-editor-active-background:var(--jp-layout-color0);--jp-cell-editor-active-border-color:var(--jp-brand-color1);--jp-cell-prompt-width:90px;--jp-cell-prompt-font-family:"Source Code Pro",monospace;--jp-cell-prompt-letter-spacing:0px;--jp-cell-prompt-opacity:1;--jp-cell-prompt-not-active-opacity:0.5;--jp-cell-prompt-not-active-font-color:var(--md-grey-700);--jp-cell-inprompt-font-color:#307fc1;--jp-cell-outprompt-font-color:#bf5b3d;--jp-notebook-padding:10px;--jp-notebook-scroll-padding:100px;--jp-notebook-select-background:var(--jp-layout-color1);--jp-notebook-multiselected-color:var(--md-blue-50);--jp-rendermime-error-background:#fdd;--jp-rendermime-table-row-background:var(--md-grey-100);--jp-rendermime-table-row-hover-background:var(--md-light-blue-50);--jp-dialog-background:rgba(0,0,0,.25);--jp-console-padding:10px;--jp-toolbar-border-color:var(--jp-border-color1);--jp-toolbar-micro-height:8px;--jp-toolbar-background:var(--jp-layout-color1);--jp-toolbar-box-shadow:0px 0px 2px 0px rgba(0,0,0,.24);--jp-toolbar-header-margin:4px 4px 0px 4px;--jp-toolbar-active-background:var(--md-grey-300);--jp-input-box-shadow:inset 0 0 2px var(--md-blue-300);--jp-input-active-background:var(--jp-layout-color1);--jp-input-hover-background:var(--jp-layout-color1);--jp-input-background:var(--md-grey-100);--jp-input-border-color:var(--jp-border-color1);--jp-input-active-border-color:var(--jp-brand-color1);--jp-editor-selected-background:#d9d9d9;--jp-editor-selected-focused-background:#d7d4f0;--jp-editor-cursor-color:var(--jp-ui-font-color0);--jp-mirror-editor-keyword-color:green;--jp-mirror-editor-atom-color:#88f;--jp-mirror-editor-number-color:#080;--jp-mirror-editor-def-color:#00f;--jp-mirror-editor-variable-color:var(--md-grey-900);--jp-mirror-editor-variable-2-color:var(--md-grey-800);--jp-mirror-editor-variable-3-color:var(--md-grey-700);--jp-mirror-editor-punctuation-color:#05a;--jp-mirror-editor-property-color:#05a;--jp-mirror-editor-operator-color:#a2f;--jp-mirror-editor-comment-color:#408080;--jp-mirror-editor-string-color:#ba2121;--jp-mirror-editor-string-2-color:#f50;--jp-mirror-editor-meta-color:#a2f;--jp-mirror-editor-qualifier-color:#555;--jp-mirror-editor-builtin-color:green;--jp-mirror-editor-bracket-color:#997;--jp-mirror-editor-tag-color:#170;--jp-mirror-editor-attribute-color:#00c;--jp-mirror-editor-header-color:blue;--jp-mirror-editor-quote-color:#090;--jp-mirror-editor-link-color:#00c;--jp-mirror-editor-error-color:red;--jp-mirror-editor-hr-color:#999;--jp-vega-background:#fff;--jp-image-jupyter:url("data:image/svg+xml;charset=utf-8,%3Csvg width='39' height='51' version='2' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:figma='http://www.figma.com/figma/ns'%3E%3Cg figma:type='canvas'%3E%3Cg style='mix-blend-mode:normal' figma:type='group'%3E%3Cg figma:type='group'%3E%3Cuse xlink:href='%23a' transform='translate(31.3 .31)' fill='%23767677' style='mix-blend-mode:normal' figma:type='vector'/%3E%3C/g%3E%3Cg figma:type='group'%3E%3Cuse xlink:href='%23b' transform='translate(1.74 30.98)' fill='%23F37726' style='mix-blend-mode:normal' figma:type='vector'/%3E%3C/g%3E%3Cg figma:type='group'%3E%3Cuse xlink:href='%23c' transform='translate(1.73 4.48)' fill='%23F37726' style='mix-blend-mode:normal' figma:type='vector'/%3E%3C/g%3E%3Cg figma:type='group'%3E%3Cuse xlink:href='%23d' transform='translate(1.8 42.81)' fill='%23989798' style='mix-blend-mode:normal' figma:type='vector'/%3E%3C/g%3E%3Cg figma:type='group'%3E%3Cuse xlink:href='%23e' transform='translate(.36 5.06)' fill='%236F7070' style='mix-blend-mode:normal' figma:type='vector'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cdefs%3E%3Cpath id='a' d='M5.894 2.844a2.993 2.993 0 0 1-.426 1.672A2.957 2.957 0 0 1 4.193 5.67a2.926 2.926 0 0 1-3.238-.505 2.997 2.997 0 0 1-.776-3.21C.379 1.4.737.92 1.208.574A2.932 2.932 0 0 1 4.94.783c.576.532.919 1.274.953 2.061z'/%3E%3Cpath id='b' d='M18.265 7.134C10.415 7.134 3.559 4.258 0 0a19.505 19.505 0 0 0 7.069 9.473 19.244 19.244 0 0 0 11.2 3.6c4.013 0 7.927-1.258 11.2-3.6A19.505 19.505 0 0 0 36.538 0c-3.567 4.258-10.423 7.134-18.273 7.134z'/%3E%3Cpath id='c' d='M18.273 5.94c7.85 0 14.706 2.876 18.265 7.133A19.505 19.505 0 0 0 29.469 3.6 19.243 19.243 0 0 0 18.27 0a19.243 19.243 0 0 0-11.2 3.6A19.505 19.505 0 0 0 0 13.073C3.567 8.825 10.423 5.94 18.273 5.94z'/%3E%3Cpath id='d' d='M7.428 3.583a3.772 3.772 0 0 1-.536 2.11 3.727 3.727 0 0 1-1.608 1.452 3.688 3.688 0 0 1-4.082-.638A3.754 3.754 0 0 1 .105 4.632a3.778 3.778 0 0 1 .122-2.173A3.744 3.744 0 0 1 1.526.72 3.696 3.696 0 0 1 6.23.988a3.76 3.76 0 0 1 1.198 2.595z'/%3E%3Cpath id='e' d='M2.275 4.396a2.166 2.166 0 0 1-1.227-.318 2.193 2.193 0 0 1-.845-.951A2.216 2.216 0 0 1 .575.71 2.163 2.163 0 0 1 2.931.134c.405.15.757.418 1.011.77a2.211 2.211 0 0 1-.156 2.783 2.17 2.17 0 0 1-1.511.71z'/%3E%3C/defs%3E%3C/svg%3E");--jp-image-jupyterlab:url("data:image/svg+xml;charset=utf-8,%3Csvg width='2340' height='475' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M532.56 293.113c0 48.748-3.721 64.664-13.644 76.414-10.832 10.002-25 15.534-39.692 15.499l3.721 28.998c22.772.316 44.847-7.911 61.936-23.081 17.778-18.5 23.98-44.082 23.98-83.33V123.287h-36.384v170.076l.083-.25zm271.377-22.211c0 21 0 39.498 1.654 55.414h-31.836l-2.067-33.332h-.827a75.447 75.447 0 0 1-27.992 27.923 74.701 74.701 0 0 1-38.16 9.825c-31.423 0-68.965-17.666-68.965-88.995V122.908h36.384v112.745c0 38.666 11.577 64.664 44.57 64.664a52.304 52.304 0 0 0 28.93-9.385 52.927 52.927 0 0 0 18.948-23.946 54.774 54.774 0 0 0 3.308-18.917V123.075h36.384v147.827h-.33zm68.573-81.529c0-25.999-.827-46.998-1.654-66.664h32.663l1.654 34.832H906a78.763 78.763 0 0 1 30.057-29.717 77.988 77.988 0 0 1 40.974-9.781c48.292 0 84.675 41.665 84.675 103.328 0 73.08-43.743 109.162-90.96 109.162a69.516 69.516 0 0 1-34.95-7.755 70.152 70.152 0 0 1-26.571-24.16h-.827V409.03h-35.97V189.04l.082.333zm35.97 54.165a83.957 83.957 0 0 0 1.654 15.082c2.964 12.318 9.946 23.276 19.827 31.118a55.87 55.87 0 0 0 34.667 12.13c38.451 0 60.695-31.915 60.695-78.496 0-40.749-21.086-75.58-59.455-75.58a57.623 57.623 0 0 0-35.265 13.352c-9.949 8.29-16.862 19.692-19.642 32.395a60.836 60.836 0 0 0-2.48 15.083v34.916zm217.592-120.44l43.743 120.078c4.548 13.416 9.51 29.416 12.818 41.665h.826c3.721-12.166 7.856-27.749 12.818-42.415l39.691-119.245h38.451l-54.494 144.91c-26.047 69.665-43.742 105.412-68.55 127.245a97.995 97.995 0 0 1-44.57 23.915l-9.096-31.081a95.74 95.74 0 0 0 31.836-18.083 111.84 111.84 0 0 0 30.595-41.165 26.805 26.805 0 0 0 2.895-8.832 32.62 32.62 0 0 0-2.481-9.667l-73.926-187.242h39.692l-.248-.083zm243.843-58.448v58.331h52.012v28.166h-52.012v109.495c0 24.999 7.028 39.498 27.288 39.498a79.667 79.667 0 0 0 21.086-2.5l1.653 27.749a87.607 87.607 0 0 1-32.249 5 49.76 49.76 0 0 1-21.336-3.382 50.088 50.088 0 0 1-17.942-12.118c-10.336-10.916-14.057-28.998-14.057-52.913v-110.83h-31.01v-28.165h31.01V74.233l35.557-9.583zm119.045 166.706c.826 49.998 32.248 70.58 68.55 70.58a129.522 129.522 0 0 0 55.32-10.499l6.202 26.416a159.61 159.61 0 0 1-66.153 12.583c-61.522 0-98.32-41.165-98.32-102.496 0-61.33 35.558-109.579 93.772-109.579 65.243 0 82.69 58.331 82.69 95.746-.06 5.77-.474 11.53-1.24 17.25H1488.96zm106.587-26.415c.414-23.499-9.508-60.08-50.358-60.08-36.798 0-52.84 34.414-55.734 60.08h106.175-.083zm88.383-18.484c0-23.915-.413-44.498-1.653-63.413h31.836l1.24 39.914h1.654c9.096-27.332 31.01-44.498 55.32-44.498a38.66 38.66 0 0 1 10.336 1.25v34.832a53.916 53.916 0 0 0-12.403-1.25c-25.634 0-43.743 19.75-48.705 47.415a105.449 105.449 0 0 0-1.654 17.25v108.328h-35.97V186.457z' fill='%234E4E4E'/%3E%3Cpath d='M349.567 27.839a28.335 28.335 0 0 1-4.033 15.843 28.024 28.024 0 0 1-12.089 10.913 27.757 27.757 0 0 1-16.069 2.304 27.863 27.863 0 0 1-14.63-7.083 28.21 28.21 0 0 1-8.256-14.08 28.372 28.372 0 0 1 .899-16.331 28.145 28.145 0 0 1 9.753-13.074A27.813 27.813 0 0 1 320.459.923a27.824 27.824 0 0 1 20.081 7.388 28.256 28.256 0 0 1 9.027 19.528z' fill='%23767677'/%3E%3Cpath d='M186.61 359.01c-74.421 0-139.416-27.248-173.154-67.58 12.565 36.19 35.983 67.55 67.012 89.737 31.03 22.187 68.136 34.106 106.184 34.106 38.047 0 75.153-11.919 106.183-34.106s54.448-53.546 67.013-89.737c-33.821 40.332-98.816 67.58-173.238 67.58zm-.012-262.348c74.422 0 139.417 27.249 173.155 67.58-12.565-36.19-35.984-67.549-67.013-89.736C261.71 52.318 224.604 40.4 186.557 40.4c-38.047 0-75.153 11.918-106.183 34.106-31.03 22.187-54.448 53.546-67.013 89.736 33.82-40.248 98.815-67.58 173.237-67.58z' fill='%23F37726'/%3E%3Cpath d='M84.443 437.44a35.711 35.711 0 0 1-5.08 19.975 35.32 35.32 0 0 1-15.243 13.759 34.984 34.984 0 0 1-20.26 2.899 35.117 35.117 0 0 1-18.442-8.94 35.556 35.556 0 0 1-10.398-17.76 35.758 35.758 0 0 1 1.153-20.59 35.473 35.473 0 0 1 12.316-16.468 35.054 35.054 0 0 1 19.322-6.791 35.068 35.068 0 0 1 25.272 9.328c6.867 6.357 10.952 15.2 11.36 24.587z' fill='%23989798'/%3E%3Cpath d='M21.938 87.54a20.55 20.55 0 0 1-11.63-3.011 20.779 20.779 0 0 1-8.007-9.017A20.977 20.977 0 0 1 .618 63.53a20.899 20.899 0 0 1 5.208-10.903 20.64 20.64 0 0 1 10.343-6.146 20.522 20.522 0 0 1 11.988.684 20.69 20.69 0 0 1 9.59 7.283A20.936 20.936 0 0 1 41.7 65.874a20.927 20.927 0 0 1-5.436 14.95 20.606 20.606 0 0 1-14.327 6.716z' fill='%236F7070'/%3E%3Cpath d='M1831.476 326.154h36.983V28.008h-36.983v298.146zm252.57 0c-2.522-13.858-3.363-31.074-3.363-48.711v-76.006c0-40.733-15.13-83.145-77.327-83.145-25.635 0-50.01 7.139-66.82 18.057l8.405 24.355c14.289-9.238 34.04-15.117 52.952-15.117 41.605 0 46.228 30.234 46.228 47.031v4.2c-78.588-.42-122.294 26.455-122.294 75.586 0 29.394 21.013 58.369 62.198 58.369 28.997 0 50.85-14.277 62.197-30.234h1.26l2.943 25.615h33.62zm-39.085-68.448c0 3.78-.84 7.979-2.1 11.758-5.884 17.217-22.695 34.014-49.17 34.014-18.912 0-34.882-11.338-34.882-35.274 0-39.472 45.808-46.611 86.152-45.771v35.273zm132.797 68.448l1.68-33.594h1.261c15.13 26.875 38.664 38.213 68.082 38.213 45.387 0 91.195-36.113 91.195-108.76.42-61.729-35.301-103.721-85.732-103.721-32.78 0-56.314 14.697-69.342 37.373h-.84V28.008h-36.563v245.655c0 18.057-.84 38.633-1.68 52.49h31.939zm6.304-117.999c0-5.878 1.26-10.918 2.1-15.117 7.565-28.135 31.1-45.351 56.315-45.351 39.504 0 60.517 34.853 60.517 75.586 0 46.611-23.114 78.105-61.778 78.105-26.896 0-48.33-17.636-55.473-43.252-.841-4.199-1.681-8.818-1.681-13.437v-36.534z' fill='%23F37726'/%3E%3C/g%3E%3C/svg%3E");--jp-image-jupyterlab-workmark:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1860.8 475'%3E%3Cstyle%3E.st0{fill:%234e4e4e}%3C/style%3E%3Cg id='Canvas'%3E%3Cg id='logo'%3E%3Cg id='Group' transform='translate(480.136 64.271)'%3E%3Cg id='g'%3E%3Cg id='path' transform='translate(0 58.876)'%3E%3Cg id='path0-fill'%3E%3Cg id='path0_fill-link' transform='translate(.088 .14)'%3E%3Cpath id='path0_fill' class='st0' d='M-426.9 169.8c0 48.7-3.7 64.7-13.6 76.4-10.8 10-25 15.5-39.7 15.5l3.7 29c22.8.3 44.8-7.9 61.9-23.1 17.8-18.5 24-44.1 24-83.3V0H-427v170.1l.1-.3z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cg id='path_1_' transform='translate(155.045 56.837)'%3E%3Cg id='path1-fill'%3E%3Cg id='path1_fill-link' transform='translate(1.562 1.8)'%3E%3Cpath id='path1_fill' class='st0' d='M-312 148c0 21 0 39.5 1.7 55.4h-31.8l-2.1-33.3h-.8c-6.7 11.6-16.4 21.3-28 27.9-11.6 6.6-24.8 10-38.2 9.8-31.4 0-69-17.7-69-89V0h36.4v112.7c0 38.7 11.6 64.7 44.6 64.7 10.3-.2 20.4-3.5 28.9-9.4s15.1-14.3 18.9-23.9c2.2-6.1 3.3-12.5 3.3-18.9V.2h36.4V148h-.3z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cg id='path_2_' transform='translate(390.013 53.48)'%3E%3Cg id='path2-fill'%3E%3Cg id='path2_fill-link' transform='translate(1.706 .231)'%3E%3Cpath id='path2_fill' class='st0' d='M-478.6 71.4c0-26-.8-47-1.7-66.7h32.7l1.7 34.8h.8C-438 27-427.6 16.7-415 9.8c12.5-7 26.7-10.3 41-9.8 48.3 0 84.7 41.7 84.7 103.3 0 73.1-43.7 109.2-91 109.2-12.1.5-24.2-2.2-35-7.8s-19.9-13.9-26.6-24.2h-.8V291h-36V71l.1.4zm36 54.2c.1 5.1.6 10.1 1.7 15.1 3 12.3 9.9 23.3 19.8 31.1 9.9 7.8 22.1 12.1 34.7 12.1 38.5 0 60.7-31.9 60.7-78.5 0-40.7-21.1-75.6-59.5-75.6-12.9.4-25.3 5.1-35.3 13.4-9.9 8.3-16.9 19.7-19.6 32.4-1.5 4.9-2.3 10-2.5 15.1v34.9z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cg id='path_3_' transform='translate(606.74 56.837)'%3E%3Cg id='path3-fill'%3E%3Cg id='path3_fill-link' transform='translate(.751 1.99)'%3E%3Cpath id='path3_fill' class='st0' d='M-440.8 0l43.7 120.1c4.5 13.4 9.5 29.4 12.8 41.7h.8c3.7-12.2 7.9-27.7 12.8-42.4L-331 .2h38.5L-346.9 145c-26 69.7-43.7 105.4-68.6 127.2-12.5 11.7-27.9 20-44.6 23.9l-9.1-31.1c11.7-3.9 22.5-10.1 31.8-18.1 13.2-11.1 23.7-25.2 30.6-41.2 1.5-2.8 2.5-5.7 2.9-8.8-.3-3.3-1.2-6.6-2.5-9.7L-480.2.1h39.7l-.3-.1z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cg id='path_4_' transform='translate(822.748)'%3E%3Cg id='path4-fill'%3E%3Cg id='path4_fill-link' transform='translate(1.464 .379)'%3E%3Cpath id='path4_fill' class='st0' d='M-413.7 0v58.3h52v28.2h-52V196c0 25 7 39.5 27.3 39.5 7.1.1 14.2-.7 21.1-2.5l1.7 27.7c-10.3 3.7-21.3 5.4-32.2 5-7.3.4-14.6-.7-21.3-3.4-6.8-2.7-12.9-6.8-17.9-12.1-10.3-10.9-14.1-29-14.1-52.9V86.5h-31V58.3h31V9.6l35.4-9.6z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cg id='path_5_' transform='translate(974.433 53.48)'%3E%3Cg id='path5-fill'%3E%3Cg id='path5_fill-link' transform='translate(.99 .61)'%3E%3Cpath id='path5_fill' class='st0' d='M-445.8 113c.8 50 32.2 70.6 68.6 70.6 19 .6 37.9-3 55.3-10.5l6.2 26.4c-20.9 8.9-43.5 13.1-66.2 12.6-61.5 0-98.3-41.2-98.3-102.5C-480.2 48.2-444.7 0-386.5 0c65.2 0 82.7 58.3 82.7 95.7-.1 5.8-.5 11.5-1.2 17.2h-140.8v.1zm106.6-26.4c.4-23.5-9.5-60.1-50.4-60.1-36.8 0-52.8 34.4-55.7 60.1h106.1z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cg id='path_6_' transform='translate(1201.961 53.48)'%3E%3Cg id='path6-fill'%3E%3Cg id='path6_fill-link' transform='translate(1.18 .705)'%3E%3Cpath id='path6_fill' class='st0' d='M-478.6 68c0-23.9-.4-44.5-1.7-63.4h31.8l1.2 39.9h1.7c9.1-27.3 31-44.5 55.3-44.5 3.5-.1 7 .4 10.3 1.2V36c-4.1-.9-8.2-1.3-12.4-1.2-25.6 0-43.7 19.7-48.7 47.4-1 5.7-1.6 11.5-1.7 17.2v108.3h-36V68h.2z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cpath id='jupyterlab' d='M1352.3 326.2h37V28h-37v298.2zm252.5 0c-2.5-13.9-3.4-31.1-3.4-48.7v-76c0-40.7-15.1-83.1-77.3-83.1-25.6 0-50 7.1-66.8 18.1l8.4 24.4c14.3-9.2 34-15.1 53-15.1 41.6 0 46.2 30.2 46.2 47v4.2c-78.6-.4-122.3 26.5-122.3 75.6 0 29.4 21 58.4 62.2 58.4 29 0 50.9-14.3 62.2-30.2h1.3l2.9 25.6h33.6zm-39.1-68.5c0 3.8-.8 8-2.1 11.8-5.9 17.2-22.7 34-49.2 34-18.9 0-34.9-11.3-34.9-35.3 0-39.5 45.8-46.6 86.2-45.8v35.3zm132.8 68.5l1.7-33.6h1.3c15.1 26.9 38.7 38.2 68.1 38.2 45.4 0 91.2-36.1 91.2-108.8.4-61.7-35.3-103.7-85.7-103.7-32.8 0-56.3 14.7-69.3 37.4h-.8V28h-36.6v245.7c0 18.1-.8 38.6-1.7 52.5h31.8zm6.3-118c0-5.9 1.3-10.9 2.1-15.1 7.6-28.1 31.1-45.4 56.3-45.4 39.5 0 60.5 34.9 60.5 75.6 0 46.6-23.1 78.1-61.8 78.1-26.9 0-48.3-17.6-55.5-43.3-.8-4.2-1.7-8.8-1.7-13.4v-36.5z' fill='%23f37726'/%3E%3C/svg%3E");--jp-image-jupyter-favicon:url("data:image/svg+xml;charset=utf-8,%3Csvg width='152' height='165' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M76.021 140.163c-32.64 0-61.145-11.927-75.942-29.58 5.51 15.84 15.781 29.567 29.39 39.278a80.165 80.165 0 0 0 46.57 14.929 80.165 80.165 0 0 0 46.57-14.929c13.61-9.711 23.88-23.437 29.391-39.278-14.833 17.653-43.338 29.58-75.979 29.58zm-.005-114.832c32.64 0 61.146 11.927 75.943 29.58a80.898 80.898 0 0 0-29.391-39.278A80.163 80.163 0 0 0 75.998.705a80.163 80.163 0 0 0-46.57 14.928A80.882 80.882 0 0 0 .038 54.912c14.832-17.617 43.338-29.58 75.978-29.58z' fill='%23F37726' fill-rule='evenodd'/%3E%3C/svg%3E");--jp-image-caretleft:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNWWFMmUAAABDSURBVChTnctBCgAwCANBf+3z0+YgFExr9TAEAmsA2uRZkWdFnsHd9+Q/HYFBK4rgOzqD74hGEY0iGkU38qzI8w22AMNb74XHwmKSAAAAAElFTkSuQmCC);--jp-image-caretright:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNWWFMmUAAABKSURBVChTlctBCsBACARBf+3zTeYg7GJnJIdCbJioqt8wbjBuMGbme2ZvGDVyQ4w9+hqOIOeIhtfT3EBGEDcQjG4gGDcYNxi9ige5y++FbjFqAAAAAABJRU5ErkJggg==);--jp-image-caretup:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNWWFMmUAAABHSURBVChTlctBDgAQDETR3rrHL11IlM+weBGfsYj4hlHBqGBUMCZ37we/YczBsL6lLcyD07BcaDDM/8roFUYFo4JRwXgX1gD97e+FKAUICwAAAABJRU5ErkJggg==);--jp-image-caretdown:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNWWFMmUAAABDSURBVChTlcsxCgAwCENRb+3xUzIIlUZDhzf4MQHgm4yOjI6MjoxOOzITk/uvjcgNqB1lG9ATyjQgGR0ZHRkdGXeIA38574WaLSX0AAAAAElFTkSuQmCC);--jp-ui-select-caret:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 5.9L9 9.7l3.8-3.8L14 7.1l-4.9 5-4.9-5 1-1.2z'/%3E%3Cpath fill='none' d='M0-.6h18v18H0v-18z'/%3E%3C/svg%3E");--jp-icon-add:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M15.3 9.9H9.9v5.4H8.1V9.9H2.7V8.1h5.4V2.7h1.8v5.4h5.4v1.8z'/%3E%3Cpath fill='none' d='M0 0h18v18H0V0z'/%3E%3C/svg%3E");--jp-icon-book:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st0{fill:none;stroke:%23fff;stroke-width:1.4;stroke-miterlimit:10}.st1{fill:%23ef6c00}.st3{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath class='st1' d='M18.7 3.3v15.4H3.3V3.3h15.4m1.5-1.5H1.8v18.3h18.3l.1-18.3z'/%3E%3Cpath class='st1' d='M16.5 16.5l-5.4-4.3-5.6 4.3v-11h11z'/%3E%3C/svg%3E");--jp-icon-book-selected:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st0,.st2{fill:none;stroke:%23fff;stroke-width:1.4;stroke-miterlimit:10}.st2{display:inline;stroke:%239e9e9e;stroke-width:2e-2}.st3{fill:%23fff}%3C/style%3E%3Cpath class='st3' d='M18.7 3.3v15.4H3.3V3.3h15.4m1.5-1.5H1.8v18.3h18.3l.1-18.3z'/%3E%3Cpath class='st3' d='M16.5 16.5l-5.4-4.3-5.6 4.3v-11h11z'/%3E%3C/svg%3E");--jp-icon-bug:url("data:image/svg+xml;charset=utf-8,%3Csvg height='48' viewBox='0 0 24 24' width='48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M20 8h-2.81a5.985 5.985 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z'/%3E%3C/svg%3E");--jp-icon-directory:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st0{fill:%23616161}.st2{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath class='st0' d='M9.3 3.7l1.5 1.5c.5.5 1.1.7 1.8.7h5.8l-.1 12.4H3.6V3.7h5.7m.2-1.5H3.3c-.6 0-1.1.5-1.1 1.1v15.4c0 .6.5 1.1 1.1 1.1h15.4c.6 0 1.1-.5 1.1-1.1l.1-13.2c0-.6-.5-1.1-1.1-1.1h-6.2c-.3 0-.6-.1-.8-.3l-1.6-1.6c-.2-.2-.5-.3-.7-.3z'/%3E%3Cpath class='st0' d='M3.2 2.2h6.3c.3 0 .5.1.7.3l1.6 1.6c.2.2.4.3.7.3h6.3c.6 0 1 .4 1 1v1.3c0 .6-.5 1-1 1H3.2c-.6 0-1-.5-1-1V3.2c0-.5.5-1 1-1z'/%3E%3C/svg%3E");--jp-icon-directory-selected:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st0{fill:%23fff}.st2{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath class='st0' d='M9.3 3.7l1.5 1.5c.5.5 1.1.7 1.8.7h5.8l-.1 12.4H3.6V3.7h5.7m.2-1.5H3.3c-.6 0-1.1.5-1.1 1.1v15.4c0 .6.5 1.1 1.1 1.1h15.4c.6 0 1.1-.5 1.1-1.1l.1-13.2c0-.6-.5-1.1-1.1-1.1h-6.2c-.3 0-.6-.1-.8-.3l-1.6-1.6c-.2-.2-.5-.3-.7-.3z'/%3E%3Cpath class='st0' d='M3.2 2.2h6.3c.3 0 .5.1.7.3l1.6 1.6c.2.2.4.3.7.3h6.3c.6 0 1 .4 1 1v1.3c0 .6-.5 1-1 1H3.2c-.6 0-1-.5-1-1V3.2c0-.5.5-1 1-1z'/%3E%3C/svg%3E");--jp-icon-new-directory:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 9'%3E%3Cstyle%3E.st1{fill:none;stroke:%23fff;stroke-miterlimit:10}%3C/style%3E%3Cg transform='translate(-1 -1.148)'%3E%3Cpath id='Shape' d='M5 2H2c-.5 0-1 .5-1 1v6c0 .6.5 1 1 1h8c.6 0 1-.4 1-1V4c0-.5-.4-1-1-1H6L5 2z'/%3E%3Cpath id='Shape_1_' fill='none' d='M0 0h12v12H0z'/%3E%3C/g%3E%3Cpath class='st1' d='M5 3.3v4.4m2.2-2.2H2.8'/%3E%3C/svg%3E");--jp-icon-file-selected:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st1{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath d='M19.3 8.2l-5.5-5.5c-.3-.3-.7-.5-1.2-.5H3.9c-.8.1-1.6.9-1.6 1.8v14.1c0 .9.7 1.6 1.6 1.6h14.2c.9 0 1.6-.7 1.6-1.6V9.4c.1-.5-.1-.9-.4-1.2zm-5.8-3.3l3.4 3.6h-3.4V4.9zm3.9 12.7H4.7c-.1 0-.2 0-.2-.2V4.7c0-.2.1-.3.2-.3h7.2v4.4s0 .8.3 1.1c.3.3 1.1.3 1.1.3h4.3v7.2s-.1.2-.2.2z' fill='%23fff'/%3E%3C/svg%3E");--jp-icon-yaml:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st0{fill:%23d81b60}.st2{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath class='st0' d='M7.2 18.6v-5.4L3 5.6h3.3l1.4 3.1c.3.9.6 1.6 1 2.5.3-.8.6-1.6 1-2.5l1.4-3.1h3.4l-4.4 7.6v5.5l-2.9-.1z'/%3E%3Ccircle class='st0' cx='17.6' cy='16.5' r='2.1'/%3E%3Ccircle class='st0' cx='17.6' cy='11' r='2.1'/%3E%3C/svg%3E");--jp-icon-yaml-selected:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st1{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}.st2{fill:%23fff}%3C/style%3E%3Cpath class='st2' d='M7.2 18.6v-5.4L3 5.6h3.3l1.4 3.1c.3.9.6 1.6 1 2.5.3-.8.6-1.6 1-2.5l1.4-3.1h3.4l-4.4 7.6v5.5l-2.9-.1z'/%3E%3Ccircle class='st2' cx='17.6' cy='16.5' r='2.1'/%3E%3Ccircle class='st2' cx='17.6' cy='11' r='2.1'/%3E%3C/svg%3E");--jp-icon-spreadsheet:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st2{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath d='M2.2 2.2v17.6h17.6V2.2H2.2zm15.4 7.7h-5.5V4.4h5.5v5.5zM9.9 4.4v5.5H4.4V4.4h5.5zm-5.5 7.7h5.5v5.5H4.4v-5.5zm7.7 5.5v-5.5h5.5v5.5h-5.5z' fill='%234caf50'/%3E%3C/svg%3E");--jp-icon-spreadsheet-selected:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st2{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath d='M2.2 2.2v17.6h17.6V2.2H2.2zm15.4 7.7h-5.5V4.4h5.5v5.5zM9.9 4.4v5.5H4.4V4.4h5.5zm-5.5 7.7h5.5v5.5H4.4v-5.5zm7.7 5.5v-5.5h5.5v5.5h-5.5z' fill='%23fff'/%3E%3C/svg%3E");--jp-icon-image:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st3{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath fill='%23fff' d='M2.2 2.2h17.5v17.5H2.2z'/%3E%3Cpath d='M2.2 2.2v17.5h17.5l.1-17.5H2.2zm12.1 2.2c1.2 0 2.2 1 2.2 2.2s-1 2.2-2.2 2.2-2.2-1-2.2-2.2 1-2.2 2.2-2.2zM4.4 17.6l3.3-8.8 3.3 6.6 2.2-3.2 4.4 5.4H4.4z' fill='%233f51b5'/%3E%3C/svg%3E");--jp-icon-image-selected:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st2{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath d='M2.2 2.2v17.5h17.5l.1-17.5H2.2zm12.1 2.2c1.2 0 2.2 1 2.2 2.2s-1 2.2-2.2 2.2-2.2-1-2.2-2.2 1-2.2 2.2-2.2zM4.4 17.6l3.3-8.8 3.3 6.6 2.2-3.2 4.4 5.4H4.4z' fill='%23fff'/%3E%3C/svg%3E");--jp-icon-json:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st0{fill:%23f9a825}.st2{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath class='st0' d='M20.2 11.8c-1.6 0-1.7.5-1.7 1 0 .4.1.9.1 1.3.1.5.1.9.1 1.3 0 1.7-1.4 2.3-3.5 2.3h-.9v-1.9h.5c1.1 0 1.4 0 1.4-.8 0-.3 0-.6-.1-1 0-.4-.1-.8-.1-1.2 0-1.3 0-1.8 1.3-2-1.3-.2-1.3-.7-1.3-2 0-.4.1-.8.1-1.2.1-.4.1-.7.1-1 0-.8-.4-.7-1.4-.8h-.5V4.1h.9c2.2 0 3.5.7 3.5 2.3 0 .4-.1.9-.1 1.3-.1.5-.1.9-.1 1.3 0 .5.2 1 1.7 1v1.8zM1.8 10.1c1.6 0 1.7-.5 1.7-1 0-.4-.1-.9-.1-1.3-.1-.5-.1-.9-.1-1.3 0-1.6 1.4-2.3 3.5-2.3h.9v1.9h-.5c-1 0-1.4 0-1.4.8 0 .3 0 .6.1 1 0 .2.1.6.1 1 0 1.3 0 1.8-1.3 2C6 11.2 6 11.7 6 13c0 .4-.1.8-.1 1.2-.1.3-.1.7-.1 1 0 .8.3.8 1.4.8h.5v1.9h-.9c-2.1 0-3.5-.6-3.5-2.3 0-.4.1-.9.1-1.3.1-.5.1-.9.1-1.3 0-.5-.2-1-1.7-1v-1.9z'/%3E%3Ccircle class='st0' cx='11' cy='13.8' r='2.1'/%3E%3Ccircle class='st0' cx='11' cy='8.2' r='2.1'/%3E%3C/svg%3E");--jp-icon-json-selected:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st1{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}.st2{fill:%23fff}%3C/style%3E%3Cpath class='st2' d='M20.2 11.8c-1.6 0-1.7.5-1.7 1 0 .4.1.9.1 1.3.1.5.1.9.1 1.3 0 1.7-1.4 2.3-3.5 2.3h-.9v-1.9h.5c1.1 0 1.4 0 1.4-.8 0-.3 0-.6-.1-1 0-.4-.1-.8-.1-1.2 0-1.3 0-1.8 1.3-2-1.3-.2-1.3-.7-1.3-2 0-.4.1-.8.1-1.2.1-.4.1-.7.1-1 0-.8-.4-.7-1.4-.8h-.5V4.1h.9c2.2 0 3.5.7 3.5 2.3 0 .4-.1.9-.1 1.3-.1.5-.1.9-.1 1.3 0 .5.2 1 1.7 1v1.8zM1.8 10.1c1.6 0 1.7-.5 1.7-1 0-.4-.1-.9-.1-1.3-.1-.5-.1-.9-.1-1.3 0-1.6 1.4-2.3 3.5-2.3h.9v1.9h-.5c-1 0-1.4 0-1.4.8 0 .3 0 .6.1 1 0 .2.1.6.1 1 0 1.3 0 1.8-1.3 2C6 11.2 6 11.7 6 13c0 .4-.1.8-.1 1.2-.1.3-.1.7-.1 1 0 .8.3.8 1.4.8h.5v1.9h-.9c-2.1 0-3.5-.6-3.5-2.3 0-.4.1-.9.1-1.3.1-.5.1-.9.1-1.3 0-.5-.2-1-1.7-1v-1.9z'/%3E%3Ccircle class='st2' cx='11' cy='13.8' r='2.1'/%3E%3Ccircle class='st2' cx='11' cy='8.2' r='2.1'/%3E%3C/svg%3E");--jp-icon-kernel-running:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'/%3E%3C/svg%3E");--jp-icon-markdown:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st0{fill:%237b1fa2}.st2{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath class='st0' d='M5 14.9h12l-6.1 6zm9.4-6.8c0-1.3-.1-2.9-.1-4.5-.4 1.4-.9 2.9-1.3 4.3l-1.3 4.3h-2L8.5 7.9c-.4-1.3-.7-2.9-1-4.3-.1 1.6-.1 3.2-.2 4.6L7 12.4H4.8l.7-11h3.3L10 5c.4 1.2.7 2.7 1 3.9.3-1.2.7-2.6 1-3.9l1.2-3.7h3.3l.6 11h-2.4l-.3-4.2z'/%3E%3C/svg%3E");--jp-icon-markdown-selected:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st0{fill:%23fff}.st2{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath class='st0' d='M5 14.9h12l-6.1 6zm9.4-6.8c0-1.3-.1-2.9-.1-4.5-.4 1.4-.9 2.9-1.3 4.3l-1.3 4.3h-2L8.5 7.9c-.4-1.3-.7-2.9-1-4.3-.1 1.6-.1 3.2-.2 4.6L7 12.4H4.8l.7-11h3.3L10 5c.4 1.2.7 2.7 1 3.9.3-1.2.7-2.6 1-3.9l1.2-3.7h3.3l.6 11h-2.4l-.3-4.2z'/%3E%3C/svg%3E");--jp-icon-python:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st0{fill:%230d47a1}.st2{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath class='st0' d='M11.1 6.9V5.8H6.9c0-.5 0-1.3.2-1.6.4-.7.8-1.1 1.7-1.4 1.7-.3 2.5-.3 3.9-.1 1 .1 1.9.9 1.9 1.9v4.2c0 .5-.9 1.6-2 1.6H8.8c-1.5 0-2.4 1.4-2.4 2.8v2.2H4.7C3.5 15.1 3 14 3 13.1V9c-.1-1 .6-2 1.8-2 1.5-.1 6.3-.1 6.3-.1z' id='vJz2Qp.tif_1_'/%3E%3Cpath class='st0' d='M10.9 15.1v1.1h4.2c0 .5 0 1.3-.2 1.6-.4.7-.8 1.1-1.7 1.4-1.7.3-2.5.3-3.9.1-1-.1-1.9-.9-1.9-1.9v-4.2c0-.5.9-1.6 2-1.6h3.8c1.5 0 2.4-1.4 2.4-2.8V6.6h1.7C18.5 6.9 19 8 19 8.9V13c0 1-.7 2.1-1.9 2.1h-6.2z' id='vJz2Qp.tif_2_'/%3E%3C/svg%3E");--jp-icon-python-selected:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st0{fill:%23fff}.st2{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath class='st0' d='M11.1 6.9V5.8H6.9c0-.5 0-1.3.2-1.6.4-.7.8-1.1 1.7-1.4 1.7-.3 2.5-.3 3.9-.1 1 .1 1.9.9 1.9 1.9v4.2c0 .5-.9 1.6-2 1.6H8.8c-1.5 0-2.4 1.4-2.4 2.8v2.2H4.7C3.5 15.1 3 14 3 13.1V9c-.1-1 .6-2 1.8-2 1.5-.1 6.3-.1 6.3-.1z' id='vJz2Qp.tif_1_'/%3E%3Cpath class='st0' d='M10.9 15.1v1.1h4.2c0 .5 0 1.3-.2 1.6-.4.7-.8 1.1-1.7 1.4-1.7.3-2.5.3-3.9.1-1-.1-1.9-.9-1.9-1.9v-4.2c0-.5.9-1.6 2-1.6h3.8c1.5 0 2.4-1.4 2.4-2.8V6.6h1.7C18.5 6.9 19 8 19 8.9V13c0 1-.7 2.1-1.9 2.1h-6.2z' id='vJz2Qp.tif_2_'/%3E%3C/svg%3E");--jp-icon-r:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st2{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath d='M4.4 2.5c1.2-.1 2.9-.3 4.9-.3 2.5 0 4.1.4 5.2 1.3 1 .7 1.5 1.9 1.5 3.5 0 2-1.4 3.5-2.9 4.1 1.2.4 1.7 1.6 2.2 3 .6 1.9 1 3.9 1.3 4.6h-3.8c-.3-.4-.8-1.7-1.2-3.7s-1.2-2.6-2.6-2.6h-.9v6.4H4.4V2.5zm3.7 6.9h1.4c1.9 0 2.9-.9 2.9-2.3s-1-2.3-2.8-2.3c-.7 0-1.3 0-1.6.2v4.5h.1v-.1z' fill='%232196f3'/%3E%3C/svg%3E");--jp-icon-r-selected:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st2{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath d='M4.4 2.5c1.2-.1 2.9-.3 4.9-.3 2.5 0 4.1.4 5.2 1.3 1 .7 1.5 1.9 1.5 3.5 0 2-1.4 3.5-2.9 4.1 1.2.4 1.7 1.6 2.2 3 .6 1.9 1 3.9 1.3 4.6h-3.8c-.3-.4-.8-1.7-1.2-3.7-.4-2-1.2-2.6-2.6-2.6h-.9v6.4H4.4V2.5zm3.7 6.9h1.4c1.9 0 2.9-.9 2.9-2.3s-1-2.3-2.8-2.3c-.7 0-1.3 0-1.6.2v4.5h.1z' fill='%23fff'/%3E%3C/svg%3E");--jp-icon-console:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cstyle%3E.st3{display:inline;fill:none;stroke:%239e9e9e;stroke-width:.25;stroke-miterlimit:10}.st4{fill:%23fff}%3C/style%3E%3Cpath fill='%230288d1' d='M20 19.8h160v159.9H20z'/%3E%3Cpath class='st4' d='M105 127.3h40v12.8h-40zM51.1 77L74 99.9l-23.3 23.3 10.5 10.5 23.3-23.3L95 99.9 84.5 89.4 61.6 66.5z'/%3E%3C/svg%3E");--jp-icon-terminal:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cstyle%3E.st1{fill:%23fff}.st3{display:inline;fill:none;stroke:%239e9e9e;stroke-width:.25;stroke-miterlimit:10}%3C/style%3E%3Cpath fill='%23424242' d='M20 20h160v160H20z' id='Layer_1_1_'/%3E%3Cpath class='st1' d='M110 127.2h40V140h-40zm-41.1 18.2v-10.6c-7.5-.3-14.7-2.3-18.9-4.8l3.3-13c4.7 2.6 11.2 4.9 18.5 4.9 6.3 0 10.7-2.4 10.7-6.9 0-4.2-3.6-6.9-11.8-9.7-11.9-4-20-9.6-20-20.4 0-9.8 6.9-17.5 18.8-19.8V54.6h10.9v9.8c7.5.3 12.5 1.9 16.1 3.7l-3.2 12.6c-2.9-1.2-8-3.8-16-3.8-7.2 0-9.6 3.1-9.6 6.2 0 3.7 3.9 6 13.4 9.6 13.2 4.7 18.6 10.8 18.6 20.8 0 9.9-7 18.4-19.8 20.6v11.4l-11-.1z'/%3E%3C/svg%3E");--jp-icon-file:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st1{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}%3C/style%3E%3Cpath d='M19.3 8.2l-5.5-5.5c-.3-.3-.7-.5-1.2-.5H3.9c-.8.1-1.6.9-1.6 1.8v14.1c0 .9.7 1.6 1.6 1.6h14.2c.9 0 1.6-.7 1.6-1.6V9.4c.1-.5-.1-.9-.4-1.2zm-5.8-3.3l3.4 3.6h-3.4V4.9zm3.9 12.7H4.7c-.1 0-.2 0-.2-.2V4.7c0-.2.1-.3.2-.3h7.2v4.4s0 .8.3 1.1c.3.3 1.1.3 1.1.3h4.3v7.2s-.1.2-.2.2z' fill='%23757575'/%3E%3C/svg%3E");--jp-icon-refresh:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M13.7 4.3C12.5 3.1 10.8 2.4 9 2.4c-3.6 0-6.6 3-6.6 6.6s2.9 6.6 6.6 6.6c3.1 0 5.6-2.1 6.4-5h-1.7c-.7 1.9-2.5 3.3-4.7 3.3-2.7 0-5-2.2-5-4.9s2.2-4.9 5-4.9c1.4 0 2.6.6 3.5 1.5L9.8 8.2h5.8V2.4l-1.9 1.9z'/%3E%3Cpath fill='none' d='M0 0h18v18H0V0z'/%3E%3C/svg%3E");--jp-icon-close:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");--jp-icon-inverse-close:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12.7 4.3l-.9-.9L8 7.1 4.3 3.3l-1 1L7.1 8l-3.7 3.7.9.9L8 8.9l3.7 3.7.9-.9L8.9 8l3.8-3.7z' fill='%23fff'/%3E%3Cpath d='M0 0h16v16H0V0z' fill='none'/%3E%3C/svg%3E");--jp-icon-circle:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath fill='none' d='M0 0h18v18H0V0z'/%3E%3Ccircle cx='9' cy='9' r='8'/%3E%3C/svg%3E");--jp-icon-inverse-circle:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M0 0h18v18H0V0z' fill='none'/%3E%3Ccircle cx='9' cy='9' r='8' fill='%23fff'/%3E%3C/svg%3E");--jp-icon-close-circle:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23fff' height='16' width='16' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23616161'/%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");--jp-icon-inverse-close-circle:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 .7C3.9.7.7 3.9.7 8S4 15.3 8 15.3 15.3 12 15.3 8 12.1.7 8 .7zm4.7 11l-.9.9L8 8.9l-3.7 3.7-.9-.9L7.1 8 3.3 4.3l.9-.9L8 7.1l3.7-3.7.9.9L8.9 8l3.8 3.7z' fill='%23fff'/%3E%3C/svg%3E");--jp-icon-search:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath fill='%23616161' d='M12.1 10.9h-.7l-.2-.2c.8-.9 1.3-2.2 1.3-3.5 0-3-2.4-5.4-5.4-5.4S1.8 4.2 1.8 7.1s2.4 5.4 5.4 5.4c1.3 0 2.5-.5 3.5-1.3l.2.2v.7l4.1 4.1 1.2-1.2-4.1-4.1zm-5 0c-2.1 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7 3.7 1.7 3.7 3.7-1.6 3.7-3.7 3.7z'/%3E%3Cpath fill='none' d='M0 0h18v18H0V0z'/%3E%3C/svg%3E");--jp-icon-search-white:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath fill='%23FFF' d='M12.1 10.9h-.7l-.2-.2c.8-.9 1.3-2.2 1.3-3.5 0-3-2.4-5.4-5.4-5.4S1.8 4.2 1.8 7.1s2.4 5.4 5.4 5.4c1.3 0 2.5-.5 3.5-1.3l.2.2v.7l4.1 4.1 1.2-1.2-4.1-4.1zm-5 0c-2.1 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7 3.7 1.7 3.7 3.7-1.6 3.7-3.7 3.7z'/%3E%3Cpath fill='none' d='M0 0h18v18H0V0z'/%3E%3C/svg%3E");--jp-icon-copy:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath fill='none' d='M0 0h18v18H0V0z'/%3E%3Cpath d='M11.9 1H3.2c-.8 0-1.5.7-1.5 1.5v10.2h1.5V2.5h8.7V1zm2.2 2.9h-8c-.8 0-1.5.7-1.5 1.5v10.2c0 .8.7 1.5 1.5 1.5h8c.8 0 1.5-.7 1.5-1.5V5.4c-.1-.8-.7-1.5-1.5-1.5zm0 11.6h-8V5.4h8v10.1z'/%3E%3C/svg%3E");--jp-icon-cut:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Ccircle cx='6' cy='18' fill='none' r='2'/%3E%3Ccircle cx='12' cy='12' fill='none' r='.5'/%3E%3Ccircle cx='6' cy='6' fill='none' r='2'/%3E%3Cpath d='M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1L9.64 7.64zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zM19 3l-6 6 2 2 7-7V3z'/%3E%3C/svg%3E");--jp-icon-paste:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");--jp-icon-download:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");--jp-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");--jp-icon-ellipses:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='5' cy='12' r='2'/%3E%3Ccircle cx='19' cy='12' r='2'/%3E%3C/svg%3E");--jp-icon-expand-less:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 9l-6 6 1.4 1.4 4.6-4.6 4.6 4.6L18 15l-6-6z' fill='%232196f3'/%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3C/svg%3E");--jp-icon-expand-more:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16l6-6-1.4-1.4-4.6 4.6-4.6-4.6L6 10l6 6z' fill='%232196f3'/%3E%3Cpath d='M24 24H0V0h24v24z' fill='none'/%3E%3C/svg%3E");--jp-icon-home:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' height='24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");--jp-icon-jupyter:url("data:image/svg+xml;charset=utf-8,%3Csvg width='39' height='51' version='2' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:figma='http://www.figma.com/figma/ns'%3E%3Cg figma:type='canvas'%3E%3Cg style='mix-blend-mode:normal' figma:type='group'%3E%3Cg figma:type='group'%3E%3Cuse xlink:href='%23a' transform='translate(31.3 .31)' fill='%23767677' style='mix-blend-mode:normal' figma:type='vector'/%3E%3C/g%3E%3Cg figma:type='group'%3E%3Cuse xlink:href='%23b' transform='translate(1.74 30.98)' fill='%23F37726' style='mix-blend-mode:normal' figma:type='vector'/%3E%3C/g%3E%3Cg figma:type='group'%3E%3Cuse xlink:href='%23c' transform='translate(1.73 4.48)' fill='%23F37726' style='mix-blend-mode:normal' figma:type='vector'/%3E%3C/g%3E%3Cg figma:type='group'%3E%3Cuse xlink:href='%23d' transform='translate(1.8 42.81)' fill='%23989798' style='mix-blend-mode:normal' figma:type='vector'/%3E%3C/g%3E%3Cg figma:type='group'%3E%3Cuse xlink:href='%23e' transform='translate(.36 5.06)' fill='%236F7070' style='mix-blend-mode:normal' figma:type='vector'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cdefs%3E%3Cpath id='a' d='M5.894 2.844a2.993 2.993 0 0 1-.426 1.672A2.957 2.957 0 0 1 4.193 5.67a2.926 2.926 0 0 1-3.238-.505 2.997 2.997 0 0 1-.776-3.21C.379 1.4.737.92 1.208.574A2.932 2.932 0 0 1 4.94.783c.576.532.919 1.274.953 2.061z'/%3E%3Cpath id='b' d='M18.265 7.134C10.415 7.134 3.559 4.258 0 0a19.505 19.505 0 0 0 7.069 9.473 19.244 19.244 0 0 0 11.2 3.6c4.013 0 7.927-1.258 11.2-3.6A19.505 19.505 0 0 0 36.538 0c-3.567 4.258-10.423 7.134-18.273 7.134z'/%3E%3Cpath id='c' d='M18.273 5.94c7.85 0 14.706 2.876 18.265 7.133A19.505 19.505 0 0 0 29.469 3.6 19.243 19.243 0 0 0 18.27 0a19.243 19.243 0 0 0-11.2 3.6A19.505 19.505 0 0 0 0 13.073C3.567 8.825 10.423 5.94 18.273 5.94z'/%3E%3Cpath id='d' d='M7.428 3.583a3.772 3.772 0 0 1-.536 2.11 3.727 3.727 0 0 1-1.608 1.452 3.688 3.688 0 0 1-4.082-.638A3.754 3.754 0 0 1 .105 4.632a3.778 3.778 0 0 1 .122-2.173A3.744 3.744 0 0 1 1.526.72 3.696 3.696 0 0 1 6.23.988a3.76 3.76 0 0 1 1.198 2.595z'/%3E%3Cpath id='e' d='M2.275 4.396a2.166 2.166 0 0 1-1.227-.318 2.193 2.193 0 0 1-.845-.951A2.216 2.216 0 0 1 .575.71 2.163 2.163 0 0 1 2.931.134c.405.15.757.418 1.011.77a2.211 2.211 0 0 1-.156 2.783 2.17 2.17 0 0 1-1.511.71z'/%3E%3C/defs%3E%3C/svg%3E");--jp-icon-launcher:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st0{fill:%23757575}.st2{display:inline;fill:none;stroke:%239e9e9e;stroke-width:2e-2;stroke-miterlimit:10}.st3{fill:%23fff}%3C/style%3E%3Cpath class='st0' d='M2.2 2.2h17.6v17.6H2.2z'/%3E%3Cpath class='st3' d='M15.4 11.1v3.2h2.2zM6.6 11v3.3H4.4zM11 3.3c4.3 5.6 3.2 11 3.2 11H7.8S6.7 8.9 11 3.3'/%3E%3Ccircle class='st0' cx='11' cy='10.4' r='1.2'/%3E%3Cpath class='st3' d='M11 18.7s-2.7-3.3 0-3.3 0 3.3 0 3.3z'/%3E%3Cpath class='st0' d='M18.7 14.3v3.3'/%3E%3Cpath class='st3' d='M17.6 16.5v-2.2h-2.2zm-13.2 0l2.2-2.2H4.4z'/%3E%3C/svg%3E");--jp-icon-link:url("data:image/svg+xml;charset=utf-8,%3Csvg height='24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z'/%3E%3C/svg%3E");--jp-icon-more:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%239e9e9e' width='18' height='18'%3E%3Cpath d='M4 7.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5S5.5 9.83 5.5 9 4.83 7.5 4 7.5zm10 0c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm-5 0c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5S9.83 7.5 9 7.5z'/%3E%3C/svg%3E");--jp-icon-run:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");--jp-icon-save:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M17 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z'/%3E%3C/svg%3E");--jp-icon-stop:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M6 6h12v12H6z'/%3E%3C/svg%3E");--jp-icon-text-editor:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cstyle%3E.st0{fill:%23fff}.st1{fill:%23616161}.st4{display:inline;fill:none;stroke:%239e9e9e;stroke-width:.25;stroke-miterlimit:10}%3C/style%3E%3Cpath class='st0' d='M134.6 36.8v27.3H163l-28.4-27.3z'/%3E%3Cpath class='st1' d='M179.6 73v.1h.1zm-52.8-52.8v.1h.1z'/%3E%3Cpath d='M20.3 20.3L20 180h160V80l-60-60-99.7.3z' fill='%23607d8b'/%3E%3Cpath fill='none' d='M50 87.5h100v64.9H50z'/%3E%3Cpath class='st0' d='M125.1 40.2L159.8 75l-34.7-.1zM50 140h100v10H50zm0-30h100v10.1H50zm0-29.9h50v10H50z'/%3E%3C/svg%3E");--jp-icon-vega:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cstyle%3E.st1,.st2,.st4{fill:none;stroke-miterlimit:10}.st1{display:inline;stroke:%239e9e9e;stroke-width:2e-2}.st2{stroke:%234caf50;stroke-width:2}.st4{stroke:%23fff;stroke-width:3}.st5{fill:%23ff5cb4}%3C/style%3E%3Cpath class='st5' d='M10.6 5.4l2.2-3.2H2.2v7.3l4-6.6z'/%3E%3Cpath class='st5' d='M15.8 2.2l-4.4 6.6L7 6.3l-4.8 8v5.5h17.6V2.2h-4zm-7 15.4H5.5v-4.4h3.3v4.4zm4.4 0H9.8V9.8h3.4v7.8zm4.4 0h-3.4V6.5h3.4v11.1z'/%3E%3C/svg%3E");--jp-icon-upload:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23616161' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M0 0h18v18H0V0z' fill='none'/%3E%3Cpath d='M6.8 9.8h4.5V5.2h3L9 0 3.8 5.2h3v4.6zm-3 2.2h10.5v2H3.8v-2z'/%3E%3C/svg%3E");--jp-icon-question-mark:url("data:image/svg+xml;charset=utf-8,%3Csvg width='49' height='49' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient x1='50%25' y1='0%25' x2='50%25' y2='100%25' id='a'%3E%3Cstop stop-color='%2390CAF9' offset='0%25'/%3E%3Cstop stop-color='%232196F3' offset='100%25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M24.5 49C38.031 49 49 38.031 49 24.5S38.031 0 24.5 0 0 10.969 0 24.5 10.969 49 24.5 49z' fill='url(%23a)'/%3E%3Cpath d='M26.214 38.412c0-1.23-.992-2.223-2.263-2.223a2.22 2.22 0 0 0-2.223 2.223c0 1.27.992 2.263 2.223 2.263 1.27 0 2.263-.992 2.263-2.263zm-.238-4.764c-.04-1.549.238-3.058.834-4.368.714-1.588 1.707-2.501 2.78-3.414 1.27-1.152 2.739-2.422 3.374-4.844.397-1.39.437-2.502.198-3.931-.317-1.588-.992-3.057-1.985-4.209a8.62 8.62 0 0 0-3.653-2.501 10.034 10.034 0 0 0-2.74-.556c-.356-.04-1.508-.08-2.977.278-1.945.516-3.613 1.549-4.884 2.978a9.626 9.626 0 0 0-2.223 5.4l4.09.397c.079-.715.317-2.144 1.27-3.375 1.707-2.184 4.328-2.025 4.447-2.025.675.04 2.382.318 3.534 1.787.516.675.873 1.548 1.032 2.5.159.914.159 1.47-.08 2.343-.317 1.35-1.072 2.065-2.144 3.137-1.23 1.191-2.7 1.906-3.811 4.328-.834 1.866-1.23 3.89-1.191 6.075h4.129z' fill='%23FFF'/%3E%3C/g%3E%3C/svg%3E");--jp-icon-chat:url("data:image/svg+xml;charset=utf-8,%3Csvg height='24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12z'/%3E%3C/svg%3E");--jp-icon-checkmark:url("data:image/svg+xml;charset=utf-8,%3Csvg height='24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");--jp-icon-checkmark-disabled:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z' opacity='.3'/%3E%3C/svg%3E");--jp-icon-caretup:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 10.5L9 6.8l3.8 3.8H5.2z'/%3E%3Cpath d='M0 0h18v18H0V0z' fill='none'/%3E%3C/svg%3E");--jp-icon-caretdown:url("data:image/svg+xml;charset=utf-8,%3Csvg height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");--jp-icon-caretleft:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M10.8 12.8L7.1 9l3.8-3.8v7.6h-.1z'/%3E%3Cpath d='M0 0h18v18H0V0z' fill='none'/%3E%3C/svg%3E");--jp-icon-caretright:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M7.2 5.2L10.9 9l-3.8 3.8V5.2h.1z'/%3E%3Cpath d='M0 0h18v18H0V0z' fill='none'/%3E%3C/svg%3E");--jp-icon-undo:url("data:image/svg+xml;charset=utf-8,%3Csvg height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z'/%3E%3C/svg%3E");--jp-icon-settings:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cstyle%3E.st2{display:inline;fill:none;stroke:%239e9e9e;stroke-width:.25;stroke-miterlimit:10}%3C/style%3E%3Cpath fill='%23616161' d='M20 20h160v160H20z' id='Layer_1_1_'/%3E%3Cpath d='M138.4 105.4c.2-1.6.4-3.3.4-5 0-1.7-.2-3.4-.4-5l10.9-8.5c1-.8 1.2-2.2.6-3.3l-10.3-17.8c-.6-1.1-2-1.5-3.1-1.1l-12.8 5.1c-2.7-2.1-5.6-3.8-8.7-5l-2-13.6c-.2-1.2-1.2-2.2-2.5-2.2H89.9c-1.3 0-2.4.9-2.5 2.2l-2 13.6c-3.1 1.3-6 3-8.7 5l-12.8-5.1c-1.2-.5-2.5 0-3.1 1.1L50.4 83.6c-.7 1.1-.4 2.5.6 3.3l10.9 8.5c-.2 1.6-.4 3.3-.4 5 0 1.7.2 3.4.4 5L51 113.9c-1 .8-1.2 2.2-.6 3.3L60.7 135c.6 1.1 2 1.5 3.1 1.1l12.8-5.1c2.7 2.1 5.6 3.8 8.7 5l2 13.6c.2 1.2 1.2 2.2 2.5 2.2h20.6c1.3 0 2.4-.9 2.5-2.2l2-13.6c3.1-1.3 6-3 8.7-5l12.8 5.1c1.2.5 2.5 0 3.1-1.1l10.3-17.8c.6-1.1.4-2.5-.6-3.3l-10.8-8.5zm-38.2 13c-9.9 0-18-8.1-18-18s8.1-18 18-18 18 8.1 18 18-8.1 18-18 18z' fill='%23fff'/%3E%3C/svg%3E");--jp-about-header-logo:url("data:image/svg+xml;charset=utf-8,%3Csvg width='39' height='51' version='2' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:figma='http://www.figma.com/figma/ns'%3E%3Cg figma:type='canvas'%3E%3Cg style='mix-blend-mode:normal' figma:type='group'%3E%3Cg figma:type='group'%3E%3Cuse xlink:href='%23a' transform='translate(31.3 .31)' fill='%23767677' style='mix-blend-mode:normal' figma:type='vector'/%3E%3C/g%3E%3Cg figma:type='group'%3E%3Cuse xlink:href='%23b' transform='translate(1.74 30.98)' fill='%23F37726' style='mix-blend-mode:normal' figma:type='vector'/%3E%3C/g%3E%3Cg figma:type='group'%3E%3Cuse xlink:href='%23c' transform='translate(1.73 4.48)' fill='%23F37726' style='mix-blend-mode:normal' figma:type='vector'/%3E%3C/g%3E%3Cg figma:type='group'%3E%3Cuse xlink:href='%23d' transform='translate(1.8 42.81)' fill='%23989798' style='mix-blend-mode:normal' figma:type='vector'/%3E%3C/g%3E%3Cg figma:type='group'%3E%3Cuse xlink:href='%23e' transform='translate(.36 5.06)' fill='%236F7070' style='mix-blend-mode:normal' figma:type='vector'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cdefs%3E%3Cpath id='a' d='M5.894 2.844a2.993 2.993 0 0 1-.426 1.672A2.957 2.957 0 0 1 4.193 5.67a2.926 2.926 0 0 1-3.238-.505 2.997 2.997 0 0 1-.776-3.21C.379 1.4.737.92 1.208.574A2.932 2.932 0 0 1 4.94.783c.576.532.919 1.274.953 2.061z'/%3E%3Cpath id='b' d='M18.265 7.134C10.415 7.134 3.559 4.258 0 0a19.505 19.505 0 0 0 7.069 9.473 19.244 19.244 0 0 0 11.2 3.6c4.013 0 7.927-1.258 11.2-3.6A19.505 19.505 0 0 0 36.538 0c-3.567 4.258-10.423 7.134-18.273 7.134z'/%3E%3Cpath id='c' d='M18.273 5.94c7.85 0 14.706 2.876 18.265 7.133A19.505 19.505 0 0 0 29.469 3.6 19.243 19.243 0 0 0 18.27 0a19.243 19.243 0 0 0-11.2 3.6A19.505 19.505 0 0 0 0 13.073C3.567 8.825 10.423 5.94 18.273 5.94z'/%3E%3Cpath id='d' d='M7.428 3.583a3.772 3.772 0 0 1-.536 2.11 3.727 3.727 0 0 1-1.608 1.452 3.688 3.688 0 0 1-4.082-.638A3.754 3.754 0 0 1 .105 4.632a3.778 3.778 0 0 1 .122-2.173A3.744 3.744 0 0 1 1.526.72 3.696 3.696 0 0 1 6.23.988a3.76 3.76 0 0 1 1.198 2.595z'/%3E%3Cpath id='e' d='M2.275 4.396a2.166 2.166 0 0 1-1.227-.318 2.193 2.193 0 0 1-.845-.951A2.216 2.216 0 0 1 .575.71 2.163 2.163 0 0 1 2.931.134c.405.15.757.418 1.011.77a2.211 2.211 0 0 1-.156 2.783 2.17 2.17 0 0 1-1.511.71z'/%3E%3C/defs%3E%3C/svg%3E");--jp-about-header-wordmark:url("data:image/svg+xml;charset=utf-8,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1860.8 475'%3E%3Cstyle%3E.st0{fill:%234e4e4e}%3C/style%3E%3Cg id='Canvas'%3E%3Cg id='logo'%3E%3Cg id='Group' transform='translate(480.136 64.271)'%3E%3Cg id='g'%3E%3Cg id='path' transform='translate(0 58.876)'%3E%3Cg id='path0-fill'%3E%3Cg id='path0_fill-link' transform='translate(.088 .14)'%3E%3Cpath id='path0_fill' class='st0' d='M-426.9 169.8c0 48.7-3.7 64.7-13.6 76.4-10.8 10-25 15.5-39.7 15.5l3.7 29c22.8.3 44.8-7.9 61.9-23.1 17.8-18.5 24-44.1 24-83.3V0H-427v170.1l.1-.3z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cg id='path_1_' transform='translate(155.045 56.837)'%3E%3Cg id='path1-fill'%3E%3Cg id='path1_fill-link' transform='translate(1.562 1.8)'%3E%3Cpath id='path1_fill' class='st0' d='M-312 148c0 21 0 39.5 1.7 55.4h-31.8l-2.1-33.3h-.8c-6.7 11.6-16.4 21.3-28 27.9-11.6 6.6-24.8 10-38.2 9.8-31.4 0-69-17.7-69-89V0h36.4v112.7c0 38.7 11.6 64.7 44.6 64.7 10.3-.2 20.4-3.5 28.9-9.4s15.1-14.3 18.9-23.9c2.2-6.1 3.3-12.5 3.3-18.9V.2h36.4V148h-.3z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cg id='path_2_' transform='translate(390.013 53.48)'%3E%3Cg id='path2-fill'%3E%3Cg id='path2_fill-link' transform='translate(1.706 .231)'%3E%3Cpath id='path2_fill' class='st0' d='M-478.6 71.4c0-26-.8-47-1.7-66.7h32.7l1.7 34.8h.8C-438 27-427.6 16.7-415 9.8c12.5-7 26.7-10.3 41-9.8 48.3 0 84.7 41.7 84.7 103.3 0 73.1-43.7 109.2-91 109.2-12.1.5-24.2-2.2-35-7.8s-19.9-13.9-26.6-24.2h-.8V291h-36V71l.1.4zm36 54.2c.1 5.1.6 10.1 1.7 15.1 3 12.3 9.9 23.3 19.8 31.1 9.9 7.8 22.1 12.1 34.7 12.1 38.5 0 60.7-31.9 60.7-78.5 0-40.7-21.1-75.6-59.5-75.6-12.9.4-25.3 5.1-35.3 13.4-9.9 8.3-16.9 19.7-19.6 32.4-1.5 4.9-2.3 10-2.5 15.1v34.9z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cg id='path_3_' transform='translate(606.74 56.837)'%3E%3Cg id='path3-fill'%3E%3Cg id='path3_fill-link' transform='translate(.751 1.99)'%3E%3Cpath id='path3_fill' class='st0' d='M-440.8 0l43.7 120.1c4.5 13.4 9.5 29.4 12.8 41.7h.8c3.7-12.2 7.9-27.7 12.8-42.4L-331 .2h38.5L-346.9 145c-26 69.7-43.7 105.4-68.6 127.2-12.5 11.7-27.9 20-44.6 23.9l-9.1-31.1c11.7-3.9 22.5-10.1 31.8-18.1 13.2-11.1 23.7-25.2 30.6-41.2 1.5-2.8 2.5-5.7 2.9-8.8-.3-3.3-1.2-6.6-2.5-9.7L-480.2.1h39.7l-.3-.1z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cg id='path_4_' transform='translate(822.748)'%3E%3Cg id='path4-fill'%3E%3Cg id='path4_fill-link' transform='translate(1.464 .379)'%3E%3Cpath id='path4_fill' class='st0' d='M-413.7 0v58.3h52v28.2h-52V196c0 25 7 39.5 27.3 39.5 7.1.1 14.2-.7 21.1-2.5l1.7 27.7c-10.3 3.7-21.3 5.4-32.2 5-7.3.4-14.6-.7-21.3-3.4-6.8-2.7-12.9-6.8-17.9-12.1-10.3-10.9-14.1-29-14.1-52.9V86.5h-31V58.3h31V9.6l35.4-9.6z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cg id='path_5_' transform='translate(974.433 53.48)'%3E%3Cg id='path5-fill'%3E%3Cg id='path5_fill-link' transform='translate(.99 .61)'%3E%3Cpath id='path5_fill' class='st0' d='M-445.8 113c.8 50 32.2 70.6 68.6 70.6 19 .6 37.9-3 55.3-10.5l6.2 26.4c-20.9 8.9-43.5 13.1-66.2 12.6-61.5 0-98.3-41.2-98.3-102.5C-480.2 48.2-444.7 0-386.5 0c65.2 0 82.7 58.3 82.7 95.7-.1 5.8-.5 11.5-1.2 17.2h-140.8v.1zm106.6-26.4c.4-23.5-9.5-60.1-50.4-60.1-36.8 0-52.8 34.4-55.7 60.1h106.1z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cg id='path_6_' transform='translate(1201.961 53.48)'%3E%3Cg id='path6-fill'%3E%3Cg id='path6_fill-link' transform='translate(1.18 .705)'%3E%3Cpath id='path6_fill' class='st0' d='M-478.6 68c0-23.9-.4-44.5-1.7-63.4h31.8l1.2 39.9h1.7c9.1-27.3 31-44.5 55.3-44.5 3.5-.1 7 .4 10.3 1.2V36c-4.1-.9-8.2-1.3-12.4-1.2-25.6 0-43.7 19.7-48.7 47.4-1 5.7-1.6 11.5-1.7 17.2v108.3h-36V68h.2z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cpath id='jupyterlab' d='M1352.3 326.2h37V28h-37v298.2zm252.5 0c-2.5-13.9-3.4-31.1-3.4-48.7v-76c0-40.7-15.1-83.1-77.3-83.1-25.6 0-50 7.1-66.8 18.1l8.4 24.4c14.3-9.2 34-15.1 53-15.1 41.6 0 46.2 30.2 46.2 47v4.2c-78.6-.4-122.3 26.5-122.3 75.6 0 29.4 21 58.4 62.2 58.4 29 0 50.9-14.3 62.2-30.2h1.3l2.9 25.6h33.6zm-39.1-68.5c0 3.8-.8 8-2.1 11.8-5.9 17.2-22.7 34-49.2 34-18.9 0-34.9-11.3-34.9-35.3 0-39.5 45.8-46.6 86.2-45.8v35.3zm132.8 68.5l1.7-33.6h1.3c15.1 26.9 38.7 38.2 68.1 38.2 45.4 0 91.2-36.1 91.2-108.8.4-61.7-35.3-103.7-85.7-103.7-32.8 0-56.3 14.7-69.3 37.4h-.8V28h-36.6v245.7c0 18.1-.8 38.6-1.7 52.5h31.8zm6.3-118c0-5.9 1.3-10.9 2.1-15.1 7.6-28.1 31.1-45.4 56.3-45.4 39.5 0 60.5 34.9 60.5 75.6 0 46.6-23.1 78.1-61.8 78.1-26.9 0-48.3-17.6-55.5-43.3-.8-4.2-1.7-8.8-1.7-13.4v-36.5z' fill='%23f37726'/%3E%3C/svg%3E")}code,kbd,pre,samp,tt{font-family:var(--jp-code-font-family);font-size:var(--jp-code-font-size);line-height:var(--jp-code-line-height)}</style><style type="text/css">.jp-NotebookPanel-toolbar{padding:2px}.jp-Toolbar-item.jp-Notebook-toolbarCellType>.jp-select-wrapper{height:100%;background-color:var(--jp-notebook-select-background)}.jp-Toolbar-item.jp-Notebook-toolbarCellType .jp-select-wrapper.jp-mod-focused{border:none;box-shadow:none}.jp-Notebook-toolbarCellType select.jp-Notebook-toolbarCellTypeDropdown{font-size:var(--jp-ui-font-size1);background-size:16px;padding-right:16px;border:none;border-radius:0;outline:none;background-color:transparent}</style><style type="text/css">:root{--jp-private-notebook-dragImage-width:304px;--jp-private-notebook-dragImage-height:36px;--jp-private-notebook-selected-color:var(--md-blue-400);--jp-private-notebook-active-color:var(--md-green-400)}.jp-NotebookPanel{display:block;height:100%}.jp-NotebookPanel.jp-Document{min-width:240px;min-height:120px}.jp-Notebook{padding:var(--jp-notebook-padding);outline:none;overflow:auto;background:var(--jp-layout-color0)}.jp-Notebook:after{display:block;content:"";min-height:var(--jp-notebook-scroll-padding)}.jp-Notebook .jp-Cell{overflow:visible}.jp-Notebook .jp-Cell .jp-InputPrompt{cursor:move}.jp-Notebook .jp-Cell:not(.jp-mod-active) .jp-InputPrompt,.jp-Notebook .jp-Cell:not(.jp-mod-active) .jp-OutputPrompt{opacity:var(--jp-cell-prompt-not-active-opacity);color:var(--jp-cell-prompt-not-active-font-color)}.jp-Notebook .jp-Cell.jp-mod-active .jp-Collapser{background:var(--jp-brand-color1)}.jp-Notebook .jp-Cell .jp-Collapser:hover{box-shadow:var(--jp-elevation-z2);background:var(--jp-brand-color1);opacity:var(--jp-cell-collapser-not-active-hover-opacity)}.jp-Notebook .jp-Cell.jp-mod-active .jp-Collapser:hover{background:var(--jp-brand-color0);opacity:1}.jp-Notebook.jp-mod-commandMode .jp-Cell.jp-mod-selected{background:var(--jp-notebook-multiselected-color)}.jp-Notebook.jp-mod-commandMode .jp-Cell.jp-mod-active.jp-mod-selected:not(.jp-mod-multiSelected){background:transparent}.jp-Notebook.jp-mod-editMode .jp-Cell.jp-mod-active .jp-InputArea-editor{border:var(--jp-border-width) solid var(--jp-cell-editor-active-border-color);box-shadow:var(--jp-input-box-shadow);background-color:var(--jp-cell-editor-active-background)}.jp-Notebook-cell.jp-mod-dropSource{opacity:.5}.jp-Notebook-cell.jp-mod-dropTarget,.jp-Notebook.jp-mod-commandMode .jp-Notebook-cell.jp-mod-active.jp-mod-selected.jp-mod-dropTarget{border-top-color:var(--jp-private-notebook-selected-color);border-top-style:solid;border-top-width:2px}.jp-dragImage{display:flex;flex-direction:row;width:var(--jp-private-notebook-dragImage-width);height:var(--jp-private-notebook-dragImage-height);border:var(--jp-border-width) solid var(--jp-cell-editor-border-color);background:var(--jp-cell-editor-background);overflow:visible}.jp-dragImage-singlePrompt{box-shadow:2px 2px 4px 0 rgba(0,0,0,.12)}.jp-dragImage .jp-dragImage-content{flex:1 1 auto;z-index:2;font-size:var(--jp-code-font-size);font-family:var(--jp-code-font-family);line-height:var(--jp-code-line-height);padding:var(--jp-code-padding);border:var(--jp-border-width) solid var(--jp-cell-editor-border-color);background:var(--jp-cell-editor-background-color);color:var(--jp-content-font-color3);text-align:left;margin:4px 4px 4px 0}.jp-dragImage .jp-dragImage-prompt{flex:0 0 auto;min-width:36px;color:var(--jp-cell-inprompt-font-color);padding:var(--jp-code-padding);padding-left:12px;font-family:var(--jp-cell-prompt-font-family);letter-spacing:var(--jp-cell-prompt-letter-spacing);line-height:1.9;font-size:var(--jp-code-font-size);border:var(--jp-border-width) solid transparent}.jp-dragImage-multipleBack{z-index:-1;position:absolute;height:32px;width:300px;top:8px;left:8px;background:var(--jp-layout-color2);border:var(--jp-border-width) solid var(--jp-input-border-color);box-shadow:2px 2px 4px 0 rgba(0,0,0,.12)}.jp-CellTools{display:flex;flex-direction:column;min-width:300px;color:var(--jp-ui-font-color1);background:var(--jp-layout-color1);font-size:var(--jp-ui-font-size1)}.jp-ActiveCellTool{padding:12px;border-bottom:1px solid var(--jp-border-color1);background-color:var(--jp-layout-color2);box-shadow:var(--jp-toolbar-box-shadow);border-top:none!important}.jp-ActiveCellTool .jp-InputArea-prompt{flex:0 0 auto;padding-left:0}.jp-ActiveCellTool .jp-InputArea-editor{flex:1 1 auto;background-color:var(--jp-cell-editor-active-background);border-color:var(--jp-cell-editor-active-border-color);box-shadow:var(--jp-cell-editor-box-shadow)}.jp-CellTools-tool:not(:nth-child(2)){border-top:var(--jp-border-width) solid var(--jp-border-color2)}.jp-MetadataEditorTool{flex-direction:column}.jp-KeySelector{padding:12px}.jp-KeySelector select.jp-mod-styled{font-size:var(--jp-ui-font-size1);color:var(--jp-ui-font-color0);border:var(--jp-border-width) solid var(--jp-border-color1)}.jp-KeySelector label{line-height:1.4}.jp-mod-presentationMode .jp-Notebook{--jp-content-font-size1:var(--jp-content-presentation-font-size1);--jp-code-font-size:var(--jp-code-presentation-font-size)}.jp-mod-presentationMode .jp-Notebook .jp-Cell .jp-InputPrompt,.jp-mod-presentationMode .jp-Notebook .jp-Cell .jp-OutputPrompt{flex:0 0 110px}</style><style type="text/css">.jp-Collapser{flex:0 0 var(--jp-cell-collapser-width);padding:0;margin:0;border:none;outline:none;background:transparent;border-radius:var(--jp-border-radius);opacity:1}.jp-Collapser-child{display:block;width:100%;box-sizing:border-box;position:absolute;top:0;bottom:0}</style><style type="text/css">.jp-CellFooter,.jp-CellHeader{height:0;width:100%;padding:0;margin:0;border:none;outline:none;background:transparent}</style><style type="text/css">.jp-InputArea{display:flex;flex-direction:row}.jp-InputArea-editor{flex:1 1 auto;border:var(--jp-border-width) solid var(--jp-cell-editor-border-color);border-radius:0;background:var(--jp-cell-editor-background)}.jp-InputPrompt{flex:0 0 var(--jp-cell-prompt-width);color:var(--jp-cell-inprompt-font-color);font-family:var(--jp-cell-prompt-font-family);padding:var(--jp-code-padding);letter-spacing:var(--jp-cell-prompt-letter-spacing);line-height:var(--jp-code-line-height);font-size:var(--jp-code-font-size);border:var(--jp-border-width) solid transparent;opacity:var(--jp-cell-prompt-opacity);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}</style><style type="text/css">.jp-Placeholder{display:flex;flex-direction:row;flex:1 1 auto}.jp-Placeholder-prompt{box-sizing:border-box}.jp-Placeholder-content{flex:1 1 auto;border:none;background:transparent;height:20px;box-sizing:border-box}.jp-Placeholder-content .jp-MoreHorizIcon{background-repeat:no-repeat;background-position:50%;background-size:32px;width:32px;height:16px;border:1px solid transparent;border-radius:var(--jp-border-radius)}.jp-Placeholder-content .jp-MoreHorizIcon:hover{border:1px solid var(--jp-border-color1);box-shadow:0 0 2px 0 rgba(0,0,0,.25);background-color:var(--jp-layout-color0)}</style><style type="text/css">:root{--jp-private-cell-scrolling-output-offset:5px}.jp-Cell{padding:var(--jp-cell-padding);margin:0;border:none;outline:none;background:transparent}.jp-Cell-inputWrapper,.jp-Cell-outputWrapper{display:flex;flex-direction:row;padding:0;margin:0;overflow:visible}.jp-Cell-inputArea,.jp-Cell-outputArea{flex:1 1 auto}.jp-Cell.jp-mod-noOutputs .jp-Cell-outputCollapser{border:none!important;background:transparent!important}.jp-Cell:not(.jp-mod-noOutputs) .jp-Cell-outputCollapser{min-height:var(--jp-cell-collapser-min-height)}.jp-Cell:not(.jp-mod-noOutputs) .jp-Cell-outputWrapper{margin-top:5px}.jp-OutputArea-executeResult .jp-RenderedText.jp-OutputArea-output{padding-top:var(--jp-code-padding)}.jp-CodeCell.jp-mod-outputsScrolled .jp-Cell-outputArea{overflow-y:auto;max-height:200px;box-shadow:inset 0 0 6px 2px rgba(0,0,0,.3);margin-left:var(--jp-private-cell-scrolling-output-offset)}.jp-CodeCell.jp-mod-outputsScrolled .jp-OutputArea-prompt{flex:0 0 calc(var(--jp-cell-prompt-width) - var(--jp-private-cell-scrolling-output-offset))}.jp-MarkdownOutput{flex:1 1 auto;margin-top:0;margin-bottom:0;padding-left:var(--jp-code-padding)}.jp-MarkdownOutput.jp-RenderedHTMLCommon{overflow:visible}</style><style type="text/css"></style><style type="text/css">.jp-CollapsiblePanel{border:var(--jp-nbdime-output-color1) solid 1pt}button.jp-CollapsiblePanel-header-icon{background-size:20px;background-position:50%;background-repeat:no-repeat;height:24px;width:24px;float:right;font-size:var(--jp-ui-font-size1);line-height:var(--jp-private-toolbar-height);margin-top:.1em;font-weight:500;padding:var(--jp-flat-button-padding);color:var(--jp-ui-font-color1);background-color:transparent;border:1px solid var(--jp-nbdime-output-color2);border-radius:2px;text-decoration:none;transition:background-color .1s ease}button.jp-CollapsiblePanel-header-icon::-moz-focus-inner{border:none}button.jp-CollapsiblePanel-header-icon:active,button.jp-CollapsiblePanel-header-icon:focus,button.jp-CollapsiblePanel-header-icon:hover{border:1px solid var(--jp-ui-font-color1)}.jp-CollapsiblePanel-header-icon-opened{background-image:var(--jp-icon-caretup)}.jp-CollapsiblePanel-header-icon-closed{background-image:var(--jp-icon-caretdown)}.jp-CollapsiblePanel-header{background-color:var(--jp-nbdime-output-color3);padding:.2em 2em;border-top:var(--jp-nbdime-output-color1) solid 1pt;color:var(--jp-ui-font-color1)}.jp-CollapsiblePanel-container{overflow:hidden}.jp-CollapsiblePanel-slider{height:100%;-webkit-transition:-webkit-transform .3s ease,height .3s;-moz-transition:-moz-transform .3s ease,height .3s;-ms-transition:-ms-transform .3s ease,height .3s;transition:transform .3s ease,height .3s}.jp-CollapsiblePanel-opened{-webkit-transform:translate(0);-moz-transform:translate(0);-ms-transform:translate(0);transform:translate(0);height:100%}.jp-CollapsiblePanel-closed{-webkit-transform:translateY(-100%);-moz-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%);height:0}</style><style type="text/css">.p-FlexPanel{display:flex}.p-FlexPanel.p-mod-left-to-right{flex-direction:row}.p-FlexPanel.p-mod-right-to-left{flex-direction:row-reverse}.p-FlexPanel.p-mod-top-to-bottom{flex-direction:column}.p-FlexPanel.p-mod-bottom-to-top{flex-direction:column-reverse}</style><style type="text/css">.jp-DragPanel-dragHandle{background:radial-gradient(hsla(0,0%,100%,.6) 30%,transparent 31%) 0 0,radial-gradient(transparent 19%,rgba(0,0,0,.4) 20%,transparent 50%) 0 1px;background-size:6px 6px}.p-Panel.jp-DragPanel .p-Widget.jp-mod-dropTarget{border-top:1px dashed #000}</style><style type="text/css">:root{--codemirror-border:var(--jp-border-width) solid var(--jp-cell-editor-border-color);--jp-nbdime-output-color1:rgba(0,141,255,.7);--jp-nbdime-output-color2:rgba(0,141,255,.5);--jp-nbdime-output-color3:rgba(0,141,255,.3);--jp-diff-added-color0:rgba(0,200,20,.6);--jp-diff-added-color1:rgba(0,200,20,.3);--jp-diff-added-color2:rgba(0,200,20,.3);--jp-diff-deleted-color0:rgba(240,20,0,.55);--jp-diff-deleted-color1:rgba(255,20,0,.3);--jp-diff-deleted-color2:rgba(255,20,0,.3);--jp-merge-local-color1:#cbcbf8;--jp-merge-local-color2:#ececff;--jp-merge-local-color3:#e6e6ff;--jp-merge-remote-color1:#beb;--jp-merge-remote-color2:#dfd;--jp-merge-remote-color3:#d8f9d8;--jp-merge-both-color1:#f88888;--jp-merge-both-color2:#fdd;--jp-merge-either-color1:#aee;--jp-merge-either-color2:#cff4f4}</style><style type="text/css">.CodeMirror-merge{position:relative;white-space:pre;border:var(--codemirror-border);border-radius:0;background:var(--jp-cell-editor-background)}.nbdime-root .CodeMirror.cm-s-jupyter{background:transparent}.CodeMirror-merge,.CodeMirror-merge .CodeMirror{height:auto}.CodeMirror-scroll{max-height:calc(100vh - 4em)}.CodeMirror-merge-4pane .CodeMirror-merge-pane-deleted{display:none}.CodeMirror-merge-pane-unchanged{width:100%}.CodeMirror-merge-1pane .CodeMirror-merge-gap{width:6%}.CodeMirror-merge-2pane .CodeMirror-merge-pane{width:47%}.CodeMirror-merge-2pane .CodeMirror-merge-gap{width:6%}.CodeMirror-merge-3pane .CodeMirror-merge-pane{width:31%}.CodeMirror-merge-3pane .CodeMirror-merge-gap{width:3.5%}.CodeMirror-merge-pane{display:inline-block;white-space:normal;vertical-align:top;width:100%}.CodeMirror-merge-pane-rightmost{position:absolute;right:0;z-index:1}.p-Widget.CodeMirror-merge-gap{z-index:2;display:inline-block;height:100%;-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden;border-left:var(--codemirror-border);border-right:var(--codemirror-border);position:absolute;color:var(--jp-ui-font-color2);background:var(--jp-layout-color2)}.CodeMirror-merge-scrolllock-wrap{position:absolute;bottom:0;left:50%}.CodeMirror-merge-scrolllock{position:relative;left:-50%;cursor:pointer;line-height:1}.CodeMirror-merge-l-inserted,.CodeMirror-merge-r-inserted{background-color:var(--jp-diff-added-color1)}.CodeMirror-merge-l-deleted,.CodeMirror-merge-r-deleted{background-color:var(--jp-diff-deleted-color1)}.CodeMirror-merge-collapsed-widget:before{content:"(...)"}.CodeMirror-merge-collapsed-widget{cursor:pointer;color:var(--jp-ui-font-color1);background:var(--jp-layout-color2);border:1px solid var(--jp-border-color1);font-size:90%;padding:0 3px;border-radius:4px}.CodeMirror-merge-collapsed-line .CodeMirror-gutter-elt{display:none}.CodeMirror-merge-spacer{background-image:repeating-linear-gradient(45deg,transparent,transparent 5px,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,.5) 10px)}</style><style type="text/css">.jp-Notebook-diff .jp-Diff-unchanged .jp-Output :first-child{margin-left:auto}.jp-Notebook-diff .jp-Diff-unchanged .jp-Output :last-child{margin-right:auto}.jp-Notebook-diff .jp-Diff-unchanged .jp-Diff-unchanged{margin-left:0;width:100%}.jp-Notebook-diff .jp-Diff-unchanged .CodeMirror-merge-pane-unchanged{border:var(--jp-border-width) solid var(--jp-private-notebook-cell-editor-border)}.jp-Notebook-diff .jp-Diff-unchanged+.jp-Diff-unchanged>div:first-of-type{border:none}.jp-Notebook-diff .jp-Diff-unchanged .jp-Cellrow-executionCount{float:left}.jp-Notebook-diff .jp-Metadata-diff{margin-bottom:20px;border:thin solid #000}.jp-Notebook-diff .jp-Cell-diff{margin-bottom:20px}.jp-Notebook-diff .jp-Cell-diff>div:first-of-type{border-top:1px solid #ccc}.jp-Notebook-diff .jp-Diff-added .jp-Cellrow-outputs,.jp-Notebook-diff .jp-Diff-added .jp-Cellrow-source{border-left:var(--codemirror-border)}.jp-Notebook-diff .jp-Diff-deleted .jp-Cellrow-outputs,.jp-Notebook-diff .jp-Diff-deleted .jp-Cellrow-source{border-right:var(--codemirror-border)}.jp-Notebook-diff .jp-Diff-addremchunk{display:flex;flex-direction:column-reverse;justify-content:space-between}.jp-Notebook-diff .jp-Diff-addremchunk .jp-Diff-addedchunk,.jp-Notebook-diff .jp-Diff-addremchunk .jp-Diff-removedchunk{width:100%}@media (min-width:1000px){.jp-Notebook-diff .jp-Diff-addremchunk{flex-direction:row-reverse}.jp-Notebook-diff .jp-Diff-addremchunk .jp-Diff-addedchunk,.jp-Notebook-diff .jp-Diff-addremchunk .jp-Diff-removedchunk{width:49%}}.jp-Notebook-diff .jp-Diff-added .jp-Cellrow-metadata,.jp-Notebook-diff .jp-Diff-deleted .jp-Cellrow-metadata,.jp-Notebook-diff .jp-Diff-unchanged .jp-Cellrow-outputs{display:none}.jp-Notebook-diff .jp-Diff-added .jp-Cellrow-outputs,.jp-Notebook-diff .jp-Diff-deleted .jp-Cellrow-outputs{border-top:var(--jp-nbdime-output-color1) solid 1pt}.jp-Notebook-diff .jp-Diff-added .jp-Diff-unchanged{margin-left:25%;width:75%}.jp-Notebook-diff .jp-Diff-deleted .jp-Diff-unchanged{margin-left:0;width:75%}.jp-Notebook-diff .jp-Diff-unchanged .jp-Output-result>*{display:block;margin-left:auto;margin-right:auto}.jp-Notebook-diff .jp-Cellrow-outputs .jp-Diff-twoway .jp-Diff-base{float:left;width:47%}.jp-Notebook-diff .jp-Cellrow-outputs .jp-Diff-twoway .jp-Diff-remote{float:right;width:47%}.jp-Notebook-diff .jp-Output-result img{max-width:100%}.jp-Notebook-diff .CodeMirror-merge-pane-remote{position:relative;left:6%}.jp-Notebook-diff .jp-Cellrow-source .CodeMirror-merge-pane-added,.jp-Notebook-diff .jp-Cellrow-source .CodeMirror-merge-pane-deleted{width:75%}.jp-Notebook-diff .jp-Diff-twoway .jp-Cellrow-outputs .jp-Diff-unchanged .jp-CodeMirrorWidget{width:auto;max-width:100%}.jp-Notebook-diff .jp-Diff-twoway .jp-Cellrow-outputs .jp-Diff-unchanged .jp-RenderedImage{text-align:center}.jp-Notebook-diff .CodeMirror-merge-r-chunk{background-color:var(--jp-diff-deleted-color2)}.jp-Notebook-diff .CodeMirror-merge-r-chunk-start{border-top:1px solid var(--jp-diff-deleted-color0)}.jp-Notebook-diff .CodeMirror-merge-r-chunk-end{border-bottom:1px solid var(--jp-diff-deleted-color0)}.jp-Notebook-diff .CodeMirror-merge-r-connect{fill:var(--jp-diff-deleted-color2);stroke:var(--jp-diff-deleted-color0);stroke-width:1px}.jp-Notebook-diff .CodeMirror-merge-spacer{background-color:var(--jp-diff-deleted-color2)}.jp-Notebook-diff .CodeMirror-merge-pane-remote .CodeMirror-merge-r-chunk{background-color:var(--jp-diff-added-color2)}.jp-Notebook-diff .CodeMirror-merge-pane-remote .CodeMirror-merge-r-chunk-start{border-top:1px solid var(--jp-diff-added-color0)}.jp-Notebook-diff .CodeMirror-merge-pane-remote .CodeMirror-merge-r-chunk-end{border-bottom:1px solid var(--jp-diff-added-color0)}.jp-Notebook-diff .CodeMirror-merge-pane-remote .CodeMirror-merge-r-connect{fill:var(--jp-diff-added-color2);stroke:var(--jp-diff-added-color0);stroke-width:1px}.jp-Notebook-diff .CodeMirror-merge-pane-remote .CodeMirror-merge-spacer{background-color:var(--jp-diff-added-color2)}.jp-Cellrow-outputs .jp-Diff-twoway .jp-Diff-base,.jp-Notebook-diff .jp-Diff-deleted .CodeMirror,.jp-Notebook-diff .jp-Diff-deleted .jp-Diff-renderedOutput{background-color:var(--jp-diff-deleted-color2);border:solid 1px var(--jp-diff-deleted-color0)}.jp-Cellrow-outputs .jp-Diff-twoway .jp-Diff-remote,.jp-Notebook-diff .jp-Diff-added .CodeMirror,.jp-Notebook-diff .jp-Diff-added .jp-Diff-renderedOutput{background-color:var(--jp-diff-added-color2);border:solid 1px var(--jp-diff-added-color0)}.jp-Notebook-diff .jp-Diff-added .CodeMirror-merge-pane-added,.jp-Notebook-diff .jp-Diff-deleted .CodeMirror-merge-pane-deleted{width:100%}.jp-Notebook-diff .jp-Cellrow-source .jp-InputPrompt{text-align:left}.jp-CollapsiblePanel-container,.jp-Notebook-diff .jp-Diff-outputPanel .jp-Diff-outputMenu{background-color:var(--jp-layout-color1);color:var(--jp-ui-font-color1)}.jp-Notebook-diff .jp-Diff-outputPanel .jp-Diff-outputMenu{display:none;position:absolute;top:0;left:50%;transform:translate(-50%);padding:3px 5px;border:var(--jp-border-width) solid var(--jp-cell-editor-border-color);z-index:10}.jp-Notebook-diff .jp-Diff-outputPanel:hover .jp-Diff-outputMenu{display:initial}.jp-Notebook-diff .jp-Diff-trustOutputButton{display:none}.jp-Notebook-diff .jp-Diff-trustCandidate .jp-Diff-trustOutputButton{display:initial}.jp-Notebook-diff .jp-Diff-outputPanel:not(.jp-Diff-trustCandidate) .jp-diff-base64Output+.jp-Diff-outputMenu{display:none}.jp-Notebook-diff .jp-Diff-outputPanel .jp-Diff-outputMenu>:not(:first-child){margin-left:5px}.jp-Diff-outputsContainer>.p-Widget:not(:last-child){padding-bottom:6px;min-height:2em;border-bottom:var(--jp-border-width) solid var(--jp-nbdime-output-color2)}.jp-Notebook-diff .jp-Diff-renderedOutput{min-height:2em}</style><style type="text/css">.jp-Notebook-merge .jp-Metadata-diff{margin-bottom:20px}.jp-Notebook-merge .jp-Metadata-diff .jp-CollapsiblePanel{border:thin solid #000}.jp-Notebook-merge .jp-Cell-merge{background-color:var(--jp-layout-color1)}.jp-Notebook-merge .jp-merge-celldragdrop>.p-Panel:not(:first-child){margin-top:20px}.jp-Notebook-merge .CodeMirror-merge-pane-base:not(.CodeMirror-merge-pane-unchanged):not(.CodeMirror-merge-pane-deleted):not(.CodeMirror-merge-pane-added),.jp-Notebook-merge .CodeMirror-merge-pane-local,.jp-Notebook-merge .CodeMirror-merge-pane-remote{width:33%}.jp-Notebook-merge .CodeMirror-merge-pane-final{width:100%;border-top:var(--codemirror-border)}.jp-Notebook-merge .jp-Output-result img{max-width:100%}.jp-Notebook-merge .jp-Merge-cellHeader{display:flex;background-color:var(--jp-layout-color2);border-top:1px solid #ccc}.jp-Notebook-merge .jp-Merge-cellHeader>.p-Widget{margin-right:.5em}.jp-Notebook-merge .jp-Merge-cellHeader-title{flex-grow:1}.jp-Notebook-merge .jp-DragPanel-dragHandle{height:18px;width:12px}.jp-Merge-dragimage-output{border:thin solid gray;max-width:33%}.jp-Cell-merge.p-mod-drag-image,.jp-Merge-dragimage-output{background-color:var(--jp-layout-color1)}.jp-Cell-merge.p-mod-drag-image .jp-Merge-cellHeader{display:none}.jp-Merge-output-drop-delete{border:3px dashed var(--jp-nbdime-output-color2);border-radius:15px;display:flex;flex-direction:column;justify-content:center;text-align:center}.jp-Notebook-merge .CodeMirror-merge-pane-added,.jp-Notebook-merge .CodeMirror-merge-pane-deleted{width:100%}.jp-Notebook-merge .CodeMirror-merge-spacer{background-color:#eee}.jp-Notebook-merge .CodeMirror-merge-r-chunk{background-color:var(--jp-merge-remote-color2)}.jp-Notebook-merge .CodeMirror-merge-m-chunk-start-remote,.jp-Notebook-merge .CodeMirror-merge-r-chunk-start{border-top:1px solid var(--jp-merge-remote-color1)}.jp-Notebook-merge .CodeMirror-merge-m-chunk-end-remote,.jp-Notebook-merge .CodeMirror-merge-r-chunk-end{border-bottom:1px solid var(--jp-merge-remote-color1)}.jp-Notebook-merge .CodeMirror-merge-r-connect{fill:var(--jp-merge-remote-color2);stroke:var(--jp-merge-remote-color1);stroke-width:1px}.jp-Notebook-merge .CodeMirror-line .CodeMirror-merge-r-inserted{background-color:var(--jp-merge-remote-color1)}.jp-Notebook-merge .CodeMirror-merge-m-chunk-end-remote-empty+.CodeMirror-linewidget .CodeMirror-merge-spacer,.jp-Notebook-merge .CodeMirror-merge-r-chunk-end-empty+.CodeMirror-linewidget .CodeMirror-merge-spacer{border-bottom:1px solid var(--jp-merge-remote-color1);background-color:var(--jp-merge-remote-color3)}.jp-Notebook-merge .CodeMirror-merge-l-chunk{background-color:var(--jp-merge-local-color2)}.jp-Notebook-merge .CodeMirror-merge-l-chunk-start,.jp-Notebook-merge .CodeMirror-merge-m-chunk-start-local{border-top:1px solid var(--jp-merge-local-color1)}.jp-Notebook-merge .CodeMirror-merge-l-chunk-end,.jp-Notebook-merge .CodeMirror-merge-m-chunk-end-local{border-bottom:1px solid var(--jp-merge-local-color1)}.jp-Notebook-merge .CodeMirror-merge-l-connect{fill:var(--jp-merge-local-color2);stroke:var(--jp-merge-local-color1);stroke-width:1px}.jp-Notebook-merge .CodeMirror-line .CodeMirror-merge-l-inserted{background-color:var(--jp-merge-local-color1)}.jp-Notebook-merge .CodeMirror-merge-l-chunk-end-empty+.CodeMirror-linewidget .CodeMirror-merge-spacer,.jp-Notebook-merge .CodeMirror-merge-m-chunk-end-local-empty+.CodeMirror-linewidget .CodeMirror-merge-spacer{border-bottom:1px solid var(--jp-merge-local-color1);background-color:var(--jp-merge-local-color3)}.jp-Notebook-merge .CodeMirror-merge-m-chunk-custom{background-color:#ffb}.jp-Notebook-merge .CodeMirror-merge-m-chunk-start-custom{border-top:1px solid #fe6}.jp-Notebook-merge .CodeMirror-merge-m-chunk-end-custom{border-bottom:1px solid #fe6}.jp-Notebook-merge .CodeMirror-merge-l-chunk.CodeMirror-merge-r-chunk{background:var(--jp-merge-both-color2)}.jp-Notebook-merge .CodeMirror-merge-l-chunk-start.CodeMirror-merge-r-chunk-start{border-top:1px solid var(--jp-merge-both-color1)}.jp-Notebook-merge .CodeMirror-merge-l-chunk-end.CodeMirror-merge-r-chunk-end{border-bottom:1px solid var(--jp-merge-both-color1)}.jp-Notebook-merge .CodeMirror-merge-l-chunk-end-empty.CodeMirror-merge-r-chunk-end-empty+.CodeMirror-linewidget .CodeMirror-merge-spacer,.jp-Notebook-merge .CodeMirror-merge-m-chunk-end-remote-empty.CodeMirror-merge-m-chunk-end-local-empty+.CodeMirror-linewidget .CodeMirror-merge-spacer{border-bottom:1px solid var(--jp-merge-both-color1);background-color:var(--jp-merge-both-color2)}.jp-Notebook-merge .CodeMirror-merge-l-chunk-end-empty,.jp-Notebook-merge .CodeMirror-merge-m-chunk-end-either-empty,.jp-Notebook-merge .CodeMirror-merge-m-chunk-end-empty,.jp-Notebook-merge .CodeMirror-merge-m-chunk-end-local-empty,.jp-Notebook-merge .CodeMirror-merge-m-chunk-end-remote-empty,.jp-Notebook-merge .CodeMirror-merge-r-chunk-end-empty,.jp-Notebook-merge .CodeMirror pre.CodeMirror-line{z-index:3}.jp-Notebook-merge .CodeMirror-merge-m-chunk-start-either,.jp-Notebook-merge .CodeMirror-merge-m-chunk-start-mixed:not(.CodeMirror-merge-m-chunk-custom){border-top:1px solid var(--jp-merge-either-color1)}.jp-Notebook-merge .CodeMirror-merge-m-chunk-end-either,.jp-Notebook-merge .CodeMirror-merge-m-chunk-end-mixed:not(.CodeMirror-merge-m-chunk-custom){border-bottom:1px solid var(--jp-merge-either-color1)}.jp-Notebook-merge .CodeMirror-merge-m-chunk-end-either-empty+.CodeMirror-linewidget .CodeMirror-merge-spacer{border-bottom:1px solid var(--jp-merge-either-color1);background-color:var(--jp-merge-either-color2)}.jp-Notebook-merge .CodeMirror-merge-pane-base .CodeMirror-line .CodeMirror-merge-l-deleted,.jp-Notebook-merge .CodeMirror-merge-pane-base .CodeMirror-line .CodeMirror-merge-m-deleted,.jp-Notebook-merge .CodeMirror-merge-pane-base .CodeMirror-line .CodeMirror-merge-r-deleted{background-color:initial;color:#b00}.jp-Notebook-merge .CodeMirror-gutter-wrapper{top:0;bottom:0}.jp-Notebook-merge .CodeMirror-linenumber{bottom:0}.jp-Notebook-merge .jp-Merge-oneway-local,.jp-Notebook-merge .jp-Merge-oneway-remote{width:75%}.jp-Notebook-merge .jp-Merge-oneway-remote{margin-left:25%}.jp-Notebook-merge .jp-Merge-oneway-local .CodeMirror{background-color:var(--jp-merge-local-color2)}.jp-Notebook-merge .jp-Merge-oneway-remote .CodeMirror{background-color:var(--jp-merge-remote-color2)}.jp-Notebook-merge .jp-Merge-gutter-picker{width:16px;text-align:right}.jp-Notebook-merge .jp-Merge-gutter-conflict{width:16px;color:#b00;text-align:right}.jp-Notebook-merge .jp-Merge-conflict{background-color:var(--jp-merge-both-color2)}.jp-Notebook-merge .CodeMirror-merge-pane.CodeMirror-merge-pane-local.jp-mod-missing{background-color:var(--jp-merge-local-color2)}.jp-Notebook-merge .CodeMirror-merge-pane.CodeMirror-merge-pane-remote.jp-mod-missing{background-color:var(--jp-merge-remote-color2)}.jp-Notebook-merge .jp-Cell-merge.jp-mod-todelete>.p-Widget:not(.jp-Merge-cellHeader){opacity:.5;filter:alpha(opacity = 50)}.jp-Notebook-merge .jp-Cell-merge.jp-mod-todelete .jp-Merge-cellHeader{background-color:var(--jp-merge-both-color2)}.jp-Cell-merge.jp-mod-clearoutputs .jp-Cellrow-outputs{display:none}.jp-Notebook-merge .jp-Cellrow-outputs .jp-OutputArea{border:1pt solid #666}.jp-Notebook-merge .jp-Cellrow-outputs .p-FlexPanel:last-of-type .jp-OutputArea{margin-top:5px}.jp-Notebook-merge .jp-Cellrow-outputs.jp-conflicted-outputs .jp-CollapsiblePanel-header{background-color:var(--jp-merge-both-color2);border-top:var(--jp-merge-both-color1) solid 1pt}.jp-Notebook-merge .jp-Cellrow-outputs.jp-conflicted-outputs{border:var(--jp-merge-both-color1) solid 1pt}.jp-conflicted-outputs-button{display:inline;margin-left:20px}.jp-Notebook-merge .jp-Diff-renderedOutput .jp-Merge-local{background-color:var(--jp-merge-local-color2)}.jp-Notebook-merge .jp-Diff-renderedOutput .jp-Merge-remote{background-color:var(--jp-merge-remote-color2)}.jp-Notebook-merge .jp-Cellrow-outputs .jp-OutputArea{display:flex;flex-direction:column;justify-content:center;flex-wrap:nowrap;min-height:2em}.jp-Notebook-merge .jp-Merge-oneway-local .jp-Cellrow-outputs,.jp-Notebook-merge .jp-Merge-oneway-remote .jp-Cellrow-outputs{border-top:var(--jp-nbdime-output-color1) solid 1pt}.jp-Notebook-merge .jp-Output:first-child{margin-top:0}.jp-Merge-notebook-controls{justify-content:flex-end;margin-bottom:10px;padding:5px;background-color:var(--jp-layout-color2);border:solid 1px var(--jp-ui-font-color2)}.jp-Merge-notebook-controls:empty{display:none}.jp-Notebook-merge label[disabled]{color:var(--jp-ui-font-color3)}.jp-Notebook-merge .CodeMirror-gutter-wrapper{margin-left:calc(-1 * var(--jp-code-padding))}.jp-Notebook-merge .jp-conflicted-cells{border:solid 2px var(--jp-error-color2)}.jp-Notebook-merge .jp-conflicted-cells .jp-conflicted-cells-header{background-color:var(--jp-error-color3);display:flex;padding:.2em 2em}.jp-Notebook-merge .jp-conflicted-cells .jp-conflicted-cells-button{margin-left:auto}.jp-Notebook-merge .jp-conflicted-cells>.jp-DragPanel{padding:4px}</style><style type="text/css">body{overflow:scroll!important;color:var(--jp-content-font-color1);font-family:sans-serif}.CodeMirror-merge,body{background-color:var(--jp-layout-color1)}.jp-Diff-unchanged{margin-left:10%;width:80%}#nbdime-header{margin:auto;width:90%;margin-bottom:20px}#nbdime-header-banner{margin-top:10px}.nbdime-header-button{display:inline-block;margin-right:10px}#nbdime-header-buttonrow .nbdime-spinner{width:14px;height:14px;display:inline-flex;border-width:3px}.nbdime-spinner{border:16px solid #eee;border-top-color:#999;border-bottom-color:#999;border-radius:50%;animation:spin 1.3s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}</style><style type="text/css">.jp-Notebook-diff{width:90%;margin:auto;position:relative;z-index:0}.nbdime-Diff #nbdime-header-base{display:inline-block;width:50%;background-color:var(--jp-diff-deleted-color0)}.nbdime-Diff #nbdime-header-remote{display:inline-block;width:49%;background-color:var(--jp-diff-added-color0)}.nbdime-Diff #nbdime-header-local{display:none;width:49%}.nbdime-Diff.jp-mod-local-remote #nbdime-header-base{display:none}.nbdime-Diff.jp-mod-local-remote #nbdime-header-local{display:inline-block;background-color:var(--jp-diff-deleted-color0)}.nbdime-Diff.jp-mod-local-base #nbdime-header-base{background-color:var(--jp-diff-added-color0)}.nbdime-Diff.jp-mod-local-base #nbdime-header-local{display:inline-block;background-color:var(--jp-diff-deleted-color0)}#nbdime-root.jp-mod-hideUnchanged .jp-Cell-diff.jp-Diff-unchanged,.nbdime-Diff.jp-mod-local-base #nbdime-header-remote{display:none}#nbdime-root.jp-mod-hideUnchanged .jp-Cell-diff[data-nbdime-NCellsHiddenBefore]:before,#nbdime-root.jp-mod-hideUnchanged .jp-Diff-addremchunk[data-nbdime-NCellsHiddenBefore]:before{content:attr(data-nbdime-NCellsHiddenBefore) " unchanged cell(s) hidden";position:absolute;width:100%;top:0;background-color:#eee;border-top:1px solid #ccc;border-bottom:1px solid #ccc;text-align:center}#nbdime-root.jp-mod-hideUnchanged .jp-Cell-diff[data-nbdime-NCellsHiddenAfter]:after,#nbdime-root.jp-mod-hideUnchanged .jp-Diff-addremchunk[data-nbdime-NCellsHiddenAfter]:after{content:attr(data-nbdime-NCellsHiddenAfter) " unchanged cell(s) hidden";position:absolute;width:100%;bottom:0;background-color:#eee;border-top:1px solid #ccc;border-bottom:1px solid #ccc;text-align:center}#nbdime-root.jp-mod-hideUnchanged .jp-Cell-diff[data-nbdime-NCellsHiddenBefore],#nbdime-root.jp-mod-hideUnchanged .jp-Diff-addremchunk[data-nbdime-NCellsHiddenBefore]{padding-top:40px}#nbdime-root.jp-mod-hideUnchanged .jp-Cell-diff[data-nbdime-NCellsHiddenAfter],#nbdime-root.jp-mod-hideUnchanged .jp-Diff-addremchunk[data-nbdime-NCellsHiddenAfter]{padding-bottom:40px}</style><style type="text/css">.jp-Notebook-merge{width:90%;margin:auto;position:relative;z-index:0}.nbdime-Merge #nbdime-header-base,.nbdime-Merge #nbdime-header-local,.nbdime-Merge #nbdime-header-remote{display:inline-block;width:33%}.nbdime-Merge #nbdime-header-local{background-color:var(--jp-merge-local-color1)}.nbdime-Merge #nbdime-header-base{background-color:#eee}.nbdime-Merge #nbdime-header-remote{background-color:var(--jp-merge-remote-color1)}#nbdime-root.jp-mod-hideUnchanged .jp-Cell-merge.jp-Merge-unchanged{display:none}#nbdime-root.jp-mod-hideUnchanged .jp-Cell-merge[data-nbdime-NCellsHiddenBefore]:before{content:attr(data-nbdime-NCellsHiddenBefore) " unchanged cell(s) hidden";position:absolute;width:100%;top:0;background-color:#eee;border-top:1px solid #ccc;border-bottom:1px solid #ccc;text-align:center}#nbdime-root.jp-mod-hideUnchanged .jp-Cell-merge[data-nbdime-NCellsHiddenAfter]:after{content:attr(data-nbdime-NCellsHiddenAfter) " unchanged cell(s) hidden";position:absolute;width:100%;bottom:0;background-color:#eee;border-top:1px solid #ccc;border-bottom:1px solid #ccc;text-align:center}#nbdime-root.jp-mod-hideUnchanged .jp-Cell-merge[data-nbdime-NCellsHiddenBefore]{padding-top:40px}#nbdime-root.jp-mod-hideUnchanged .jp-Cell-merge[data-nbdime-NCellsHiddenAfter]{padding-bottom:40px}</style><style type="text/css"> | |
.jp-Notebook-diff .CodeMirror-merge-collapsed-widget { | |
cursor: initial; | |
} | |
.CodeMirror-gutters { | |
height: auto !important; | |
} | |
.CodeMirror-sizer, .CodeMirror-scroll { | |
margin-bottom: 0 !important; | |
padding-bottom: 0 !important; | |
margin-right: 0 !important; | |
padding-right: 0 !important; | |
} | |
.CodeMirror-hscrollbar, .CodeMirror-vscrollbar, | |
.CodeMirror-merge-scrolllock, .CodeMirror-sizer + div { | |
display: none !important; | |
} | |
.CodeMirror-scroll { | |
overflow: auto !important; | |
} | |
</style> | |
</head><body><div id="nbdime-root"><div class="p-Widget p-Panel" id="main"><div class="p-Widget p-Panel jp-Notebook-diff"><div class="p-Widget p-Panel jp-Metadata-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-CollapsiblePanel"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Notebook metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 333px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>19</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation" style=""><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "kernelspec": {</span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "display_name": "Python <span class=" CodeMirror-merge-r-deleted">2</span>",</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">4</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "language": "python",</span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">5</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "name": "python<span class=" CodeMirror-merge-r-deleted">2</span>"</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">6</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> },</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">7</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "language_info": {</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">8</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "codemirror_mode": {</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">9</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "name": "ipython",</span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">10</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "version": <span class=" CodeMirror-merge-r-deleted">2</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">11</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> },</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">12</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "file_extension": ".py",</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">13</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "mimetype": "text/x-python",</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">14</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "name": "python",</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">15</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "nbconvert_exporter": "python",</span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">16</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "pygments_lexer": "ipython<span class=" CodeMirror-merge-r-deleted">2</span>",</span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">17</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "version": "<span class=" CodeMirror-merge-r-deleted">2.7.9</span>"</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">18</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> }</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">19</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 333px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 363px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 333px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>19</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation" style=""><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "kernelspec": {</span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "display_name": "Python <span class=" CodeMirror-merge-r-inserted">3</span>",</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">4</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "language": "python",</span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">5</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "name": "python<span class=" CodeMirror-merge-r-inserted">3</span>"</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">6</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> },</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">7</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "language_info": {</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">8</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "codemirror_mode": {</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">9</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "name": "ipython",</span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">10</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "version": <span class=" CodeMirror-merge-r-inserted">3</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">11</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> },</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">12</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "file_extension": ".py",</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">13</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "mimetype": "text/x-python",</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">14</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "name": "python",</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">15</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "nbconvert_exporter": "python",</span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">16</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "pygments_lexer": "ipython<span class=" CodeMirror-merge-r-inserted">3</span>",</span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">17</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> "version": "<span class=" CodeMirror-merge-r-inserted">3.7.0</span>"</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">18</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> }</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">19</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 333px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 363px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><h1 id="Table-of-Contents">Table of Contents<a target="_self" href="#Table-of-Contents" class="jp-InternalAnchorLink">¶</a></h1> | |
<div></div> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><h1 id="Importance-of-giving-a-convenient-period">Importance of giving a convenient period<a target="_self" href="#Importance-of-giving-a-convenient-period" class="jp-InternalAnchorLink">¶</a></h1> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>This notebook aim to show easily how periods work in OpenFisca. </p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>We need to initialize a <strong>simulation</strong>.</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="4"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [1]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [1]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 265px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>15</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation" style=""><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-keyword">from</span> <span class="cm-variable">openfisca_france</span> <span class="cm-keyword">import</span> <span class="cm-variable">FranceTaxBenefitSystem</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">tax_benefit_system</span> <span class="cm-operator">=</span> <span class="cm-variable">FranceTaxBenefitSystem</span>()</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">scenario</span> <span class="cm-operator">=</span> <span class="cm-variable">tax_benefit_system</span>.<span class="cm-property">new_scenario</span>()</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">4</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">scenario</span>.<span class="cm-property">init_single_entity</span>(</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">5</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">period</span> <span class="cm-operator">=</span> <span class="cm-number">2015</span>,</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">6</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">parent1</span> <span class="cm-operator">=</span> <span class="cm-builtin">dict</span>(</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">7</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">age</span> <span class="cm-operator">=</span> <span class="cm-number">30</span>,</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">8</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">salaire_de_base</span> <span class="cm-operator">=</span> <span class="cm-number">50000</span>,</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">9</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> ),</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">10</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">enfants</span> <span class="cm-operator">=</span> [</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">11</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-builtin">dict</span>(<span class="cm-variable">age</span> <span class="cm-operator">=</span> <span class="cm-number">12</span>),</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">12</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-builtin">dict</span>(<span class="cm-variable">age</span> <span class="cm-operator">=</span> <span class="cm-number">18</span>),</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">13</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> ],</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">14</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> )</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">15</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation</span> <span class="cm-operator">=</span> <span class="cm-variable">scenario</span>.<span class="cm-property">new_simulation</span>()</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 265px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 295px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>A simulation's variable is calculated for a specific period.<br>This specific time interval have to be given when calling a variable to avoid computation problem.</p> | |
<h3 id="Variables-with-monthly-formulas">Variables with monthly formulas<a target="_self" href="#Variables-with-monthly-formulas" class="jp-InternalAnchorLink">¶</a></h3> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>Some variables are computed over the month.<br>For exemple the variable <code>allocation familiales</code>.<br>If called on an annual basis, an error is displayed : </p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="2"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [2]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [2]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span>(<span class="cm-string">'af'</span>, <span class="cm-string">'2015'</span>)</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span><span class="cm-property CodeMirror-merge-r-inserted">_add</span>(<span class="cm-string">'af'</span>, <span class="cm-string">'2015'</span>)</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-addremchunk"><div class="p-Widget p-Panel jp-Diff-addedchunk"><div class="p-Widget p-Panel jp-Diff-added jp-Diff-outputPanel"><div class="p-Widget jp-Diff-label">Output added</div><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([1559.88], dtype=float32)</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">text/plain</span></div></div></div><div class="p-Widget p-Panel jp-Diff-removedchunk"><div class="p-Widget p-Panel jp-Diff-deleted jp-Diff-outputPanel"><div class="p-Widget jp-Diff-label">Output deleted</div><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stderr"><pre><span class="ansi-red-fg">AssertionError</span>Traceback (most recent call last) | |
<span class="ansi-green-fg"><ipython-input-2-8a82c7f215b6></span> in <span class="ansi-cyan-fg"><module></span><span class="ansi-blue-fg">()</span> | |
<span class="ansi-green-fg">----> 1</span><span class="ansi-red-fg"> </span>simulation<span class="ansi-blue-fg">.</span>calculate<span class="ansi-blue-fg">(</span><span class="ansi-blue-fg">'af'</span><span class="ansi-blue-fg">,</span> <span class="ansi-blue-fg">'2015'</span><span class="ansi-blue-fg">)</span> | |
<span class="ansi-green-fg">/home/notebook/virtualenvs/openfisca/local/lib/python2.7/site-packages/openfisca_core/simulations.pyc</span> in <span class="ansi-cyan-fg">calculate</span><span class="ansi-blue-fg">(self, column_name, period, **parameters)</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 72</span> <span class="ansi-green-fg">if</span> period <span class="ansi-green-fg">is</span> None<span class="ansi-blue-fg">:</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 73</span> period <span class="ansi-blue-fg">=</span> self<span class="ansi-blue-fg">.</span>period | |
<span class="ansi-green-fg">---> 74</span><span class="ansi-red-fg"> </span><span class="ansi-green-fg">return</span> self<span class="ansi-blue-fg">.</span>compute<span class="ansi-blue-fg">(</span>column_name<span class="ansi-blue-fg">,</span> period <span class="ansi-blue-fg">=</span> period<span class="ansi-blue-fg">,</span> <span class="ansi-blue-fg">**</span>parameters<span class="ansi-blue-fg">)</span><span class="ansi-blue-fg">.</span>array | |
<span style="font-weight:bold" class="ansi-green-fg"> 75</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 76</span> <span class="ansi-green-fg">def</span> calculate_add<span class="ansi-blue-fg">(</span>self<span class="ansi-blue-fg">,</span> column_name<span class="ansi-blue-fg">,</span> period <span class="ansi-blue-fg">=</span> None<span class="ansi-blue-fg">,</span> <span class="ansi-blue-fg">**</span>parameters<span class="ansi-blue-fg">)</span><span class="ansi-blue-fg">:</span> | |
<span class="ansi-green-fg">/home/notebook/virtualenvs/openfisca/local/lib/python2.7/site-packages/openfisca_core/simulations.pyc</span> in <span class="ansi-cyan-fg">compute</span><span class="ansi-blue-fg">(self, column_name, period, **parameters)</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 157</span> caller_input_variables_infos<span class="ansi-blue-fg">.</span>append<span class="ansi-blue-fg">(</span>variable_infos<span class="ansi-blue-fg">)</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 158</span> holder <span class="ansi-blue-fg">=</span> self<span class="ansi-blue-fg">.</span>get_or_new_holder<span class="ansi-blue-fg">(</span>column_name<span class="ansi-blue-fg">)</span> | |
<span class="ansi-green-fg">--> 159</span><span class="ansi-red-fg"> </span>result <span class="ansi-blue-fg">=</span> holder<span class="ansi-blue-fg">.</span>compute<span class="ansi-blue-fg">(</span>period <span class="ansi-blue-fg">=</span> period<span class="ansi-blue-fg">,</span> <span class="ansi-blue-fg">**</span>parameters<span class="ansi-blue-fg">)</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 160</span> <span class="ansi-green-fg">if</span> print_trace<span class="ansi-blue-fg">:</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 161</span> self<span class="ansi-blue-fg">.</span>print_trace<span class="ansi-blue-fg">(</span>variable_name<span class="ansi-blue-fg">=</span>column_name<span class="ansi-blue-fg">,</span> period<span class="ansi-blue-fg">=</span>period<span class="ansi-blue-fg">,</span> <span class="ansi-blue-fg">**</span>print_trace_kwargs<span class="ansi-blue-fg">)</span> | |
<span class="ansi-green-fg">/home/notebook/virtualenvs/openfisca/local/lib/python2.7/site-packages/openfisca_core/holders.pyc</span> in <span class="ansi-cyan-fg">compute</span><span class="ansi-blue-fg">(self, period, **parameters)</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 140</span> <span class="ansi-green-fg">assert</span> accept_other_period <span class="ansi-green-fg">or</span> formula_dated_holder<span class="ansi-blue-fg">.</span>period <span class="ansi-blue-fg">==</span> period<span class="ansi-blue-fg">,</span><span class="ansi-red-fg"> </span><span class="ansi-red-fg">\</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 141</span> "Requested period {} differs from {} returned by variable {}".format(period, | |
<span class="ansi-green-fg">--> 142</span><span class="ansi-red-fg"> formula_dated_holder.period, column.name) | |
</span><span style="font-weight:bold" class="ansi-green-fg"> 143</span> <span class="ansi-green-fg">return</span> formula_dated_holder | |
<span style="font-weight:bold" class="ansi-green-fg"> 144</span> array <span class="ansi-blue-fg">=</span> np<span class="ansi-blue-fg">.</span>empty<span class="ansi-blue-fg">(</span>entity<span class="ansi-blue-fg">.</span>count<span class="ansi-blue-fg">,</span> dtype <span class="ansi-blue-fg">=</span> column<span class="ansi-blue-fg">.</span>dtype<span class="ansi-blue-fg">)</span> | |
<span class="ansi-red-fg">AssertionError</span>: Requested period 2015 differs from 2015-01 returned by variable af</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stderr</span></div></div></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>This assertion error :<br> "<code>Requested period 2015 differs from 2015-01 returned by variable af</code>"<br>means exactly the fact that <code>af</code> are computed for a month, therefore the variable returned value for <code>2015-01</code>.</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>But when called on its period (monthly), the result of the variable's formula will be returned</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="2"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [3]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [3]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span>(<span class="cm-string">'af'</span>, <span class="cm-string">'2015-01'</span>) <span class="cm-comment">#calculate variable af for January 2015</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-twoway jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([ 129.99000549], dtype=float32)</pre></div></div><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([129.99], dtype=float32)</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">text/plain</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><h3 id="Variable-with-annual-formulas">Variable with annual formulas<a target="_self" href="#Variable-with-annual-formulas" class="jp-InternalAnchorLink">¶</a></h3> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>Other formulas only works on a annual basis, thus a monthly call will not work, e.g irpp (impôt sur le revenu) :</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Diff-addremchunk" data-nbdime-ncellshiddenbefore="2"><div class="p-Widget p-Panel jp-Diff-addedchunk"><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-added"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [4]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-added" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 95px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>5</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation" style=""><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-keyword">try</span>: <span class="cm-comment">#Try to run simulation.calculate_add('irpp', '2015-01')</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">simulation</span>.<span class="cm-property">calculate_add</span>(<span class="cm-string">'irpp'</span>, <span class="cm-string">'2015-01'</span>)</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-keyword">except</span> <span class="cm-variable">Exception</span> <span class="cm-keyword">as</span> <span class="cm-variable">inst</span>: <span class="cm-comment"># It is failing, catch the Exception</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">4</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-builtin">print</span>(<span class="cm-variable">inst</span>) <span class="cm-comment"># Print the Exception</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">5</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 95px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 125px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-added" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true"><div style="min-width: 1px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-outputsContainer jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-Diff-added jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>b"Unable to compute variable 'irpp' for period 2015-01: 'irpp' can only be computed for year-long periods. You can use the DIVIDE option to get an estimate of irpp by dividing the yearly value by 12, or change the requested period to 'period.this_year'." | |
</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stdout</span></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-removedchunk"><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-deleted"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [4]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span>(<span class="cm-string">'irpp'</span>, <span class="cm-string">'2015-01'</span>)</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="display: block; bottom: 0px;"><div style="min-width: 1px; height: 41px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; padding-right: 0px; padding-bottom: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-outputsContainer jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-Diff-deleted jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stderr"><pre><span class="ansi-red-fg">AssertionError</span>Traceback (most recent call last) | |
<span class="ansi-green-fg"><ipython-input-4-c5f820ae8a5c></span> in <span class="ansi-cyan-fg"><module></span><span class="ansi-blue-fg">()</span> | |
<span class="ansi-green-fg">----> 1</span><span class="ansi-red-fg"> </span>simulation<span class="ansi-blue-fg">.</span>calculate<span class="ansi-blue-fg">(</span><span class="ansi-blue-fg">'irpp'</span><span class="ansi-blue-fg">,</span> <span class="ansi-blue-fg">'2015-01'</span><span class="ansi-blue-fg">)</span> | |
<span class="ansi-green-fg">/home/notebook/virtualenvs/openfisca/local/lib/python2.7/site-packages/openfisca_core/simulations.pyc</span> in <span class="ansi-cyan-fg">calculate</span><span class="ansi-blue-fg">(self, column_name, period, **parameters)</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 72</span> <span class="ansi-green-fg">if</span> period <span class="ansi-green-fg">is</span> None<span class="ansi-blue-fg">:</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 73</span> period <span class="ansi-blue-fg">=</span> self<span class="ansi-blue-fg">.</span>period | |
<span class="ansi-green-fg">---> 74</span><span class="ansi-red-fg"> </span><span class="ansi-green-fg">return</span> self<span class="ansi-blue-fg">.</span>compute<span class="ansi-blue-fg">(</span>column_name<span class="ansi-blue-fg">,</span> period <span class="ansi-blue-fg">=</span> period<span class="ansi-blue-fg">,</span> <span class="ansi-blue-fg">**</span>parameters<span class="ansi-blue-fg">)</span><span class="ansi-blue-fg">.</span>array | |
<span style="font-weight:bold" class="ansi-green-fg"> 75</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 76</span> <span class="ansi-green-fg">def</span> calculate_add<span class="ansi-blue-fg">(</span>self<span class="ansi-blue-fg">,</span> column_name<span class="ansi-blue-fg">,</span> period <span class="ansi-blue-fg">=</span> None<span class="ansi-blue-fg">,</span> <span class="ansi-blue-fg">**</span>parameters<span class="ansi-blue-fg">)</span><span class="ansi-blue-fg">:</span> | |
<span class="ansi-green-fg">/home/notebook/virtualenvs/openfisca/local/lib/python2.7/site-packages/openfisca_core/simulations.pyc</span> in <span class="ansi-cyan-fg">compute</span><span class="ansi-blue-fg">(self, column_name, period, **parameters)</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 157</span> caller_input_variables_infos<span class="ansi-blue-fg">.</span>append<span class="ansi-blue-fg">(</span>variable_infos<span class="ansi-blue-fg">)</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 158</span> holder <span class="ansi-blue-fg">=</span> self<span class="ansi-blue-fg">.</span>get_or_new_holder<span class="ansi-blue-fg">(</span>column_name<span class="ansi-blue-fg">)</span> | |
<span class="ansi-green-fg">--> 159</span><span class="ansi-red-fg"> </span>result <span class="ansi-blue-fg">=</span> holder<span class="ansi-blue-fg">.</span>compute<span class="ansi-blue-fg">(</span>period <span class="ansi-blue-fg">=</span> period<span class="ansi-blue-fg">,</span> <span class="ansi-blue-fg">**</span>parameters<span class="ansi-blue-fg">)</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 160</span> <span class="ansi-green-fg">if</span> print_trace<span class="ansi-blue-fg">:</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 161</span> self<span class="ansi-blue-fg">.</span>print_trace<span class="ansi-blue-fg">(</span>variable_name<span class="ansi-blue-fg">=</span>column_name<span class="ansi-blue-fg">,</span> period<span class="ansi-blue-fg">=</span>period<span class="ansi-blue-fg">,</span> <span class="ansi-blue-fg">**</span>print_trace_kwargs<span class="ansi-blue-fg">)</span> | |
<span class="ansi-green-fg">/home/notebook/virtualenvs/openfisca/local/lib/python2.7/site-packages/openfisca_core/holders.pyc</span> in <span class="ansi-cyan-fg">compute</span><span class="ansi-blue-fg">(self, period, **parameters)</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 140</span> <span class="ansi-green-fg">assert</span> accept_other_period <span class="ansi-green-fg">or</span> formula_dated_holder<span class="ansi-blue-fg">.</span>period <span class="ansi-blue-fg">==</span> period<span class="ansi-blue-fg">,</span><span class="ansi-red-fg"> </span><span class="ansi-red-fg">\</span> | |
<span style="font-weight:bold" class="ansi-green-fg"> 141</span> "Requested period {} differs from {} returned by variable {}".format(period, | |
<span class="ansi-green-fg">--> 142</span><span class="ansi-red-fg"> formula_dated_holder.period, column.name) | |
</span><span style="font-weight:bold" class="ansi-green-fg"> 143</span> <span class="ansi-green-fg">return</span> formula_dated_holder | |
<span style="font-weight:bold" class="ansi-green-fg"> 144</span> array <span class="ansi-blue-fg">=</span> np<span class="ansi-blue-fg">.</span>empty<span class="ansi-blue-fg">(</span>entity<span class="ansi-blue-fg">.</span>count<span class="ansi-blue-fg">,</span> dtype <span class="ansi-blue-fg">=</span> column<span class="ansi-blue-fg">.</span>dtype<span class="ansi-blue-fg">)</span> | |
<span class="ansi-red-fg">AssertionError</span>: Requested period 2015-01 differs from 2015 returned by variable irpp</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stderr</span></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>It must be called on an annual basis :</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="1"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [5]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [5]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span>(<span class="cm-string">'irpp'</span>, <span class="cm-string">'2015'</span>) <span class="cm-comment">#calculate variable irpp for 2015</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-twoway jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([-2400.52807617], dtype=float32)</pre></div></div><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([-2400.528], dtype=float32)</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">text/plain</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">### <span class=" CodeMirror-merge-r-deleted">Defa</span>ult period</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">### <span class=" CodeMirror-merge-r-inserted">Sim</span>ul<span class=" CodeMirror-merge-r-inserted">a</span>t<span class=" CodeMirror-merge-r-inserted">ion</span> period</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div><div class="p-Widget p-Panel jp-Diff-addremchunk"><div class="p-Widget p-Panel jp-Diff-addedchunk"><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-added"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-added" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">The simulation has a specific period that was defined when creating the scenario. </span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-added" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true"><div style="min-width: 1px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-removedchunk"><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-deleted"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">When a variable is called without period, the simulation's default period is used.</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true"><div style="min-width: 1px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [6]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [6]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation</span>.<span class="cm-property">period</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-twoway jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>Period((u'year', Instant((2015, 1, 1)), 1))</pre></div></div><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>Period(('year', Instant((2015, 1, 1)), 1))</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">text/plain</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-addremchunk"><div class="p-Widget p-Panel jp-Diff-addedchunk"><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-added"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-added" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">Here the simulation period is for the year 2015. What would happend if we compute `irpp` for an other year ?</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-added" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true"><div style="min-width: 1px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-removedchunk"><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-deleted"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">Here default simulation period is a year. Thus the variable `irpp` can be computed but not the variable `af`.</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true"><div style="min-width: 1px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [7]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [7]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span>(<span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span>(<span class="cm-string">'irpp'</span>))</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span>(<span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span>(<span class="cm-string">'irpp'</span><span class=" CodeMirror-merge-r-inserted">, </span><span class="cm-string CodeMirror-merge-r-inserted">'2016'</span>))</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-addremchunk"><div class="p-Widget p-Panel jp-Diff-addedchunk"><div class="p-Widget p-Panel jp-Diff-added jp-Diff-outputPanel"><div class="p-Widget jp-Diff-label">Output added</div><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>[0.] | |
</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stdout</span></div></div></div><div class="p-Widget p-Panel jp-Diff-removedchunk"><div class="p-Widget p-Panel jp-Diff-deleted jp-Diff-outputPanel"><div class="p-Widget jp-Diff-label">Output deleted</div><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>[-2400.52807617] | |
</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stdout</span></div></div></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-addremchunk"><div class="p-Widget p-Panel jp-Diff-addedchunk"></div><div class="p-Widget p-Panel jp-Diff-removedchunk"><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-deleted"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">In this case simulation.calculate('irpp') is equivalent to simulation.calculate('irpp', '2015')</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true"><div style="min-width: 1px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [8]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [8]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span>(<span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span>(<span class="cm-string">'irpp'</span><span class=" CodeMirror-merge-r-deleted">) </span><span class="cm-operator CodeMirror-merge-r-deleted">==</span><span class=" CodeMirror-merge-r-deleted"> </span><span class="cm-variable CodeMirror-merge-r-deleted">simulation</span><span class=" CodeMirror-merge-r-deleted">.</span><span class="cm-property CodeMirror-merge-r-deleted">calculate</span><span class=" CodeMirror-merge-r-deleted">(</span><span class="cm-string CodeMirror-merge-r-deleted">'irpp'</span>, <span class="cm-string">'201</span><span class="cm-string CodeMirror-merge-r-deleted">5</span><span class="cm-string">'</span>))</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span>(<span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span>(<span class="cm-string">'irpp'</span>, <span class="cm-string">'201</span><span class="cm-string CodeMirror-merge-r-inserted">4</span><span class="cm-string">'</span>))</span></pre><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 16.8125px; min-width: 1px;"></div></div></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-addremchunk"><div class="p-Widget p-Panel jp-Diff-addedchunk"><div class="p-Widget p-Panel jp-Diff-added jp-Diff-outputPanel"><div class="p-Widget jp-Diff-label">Output added</div><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>[0.] | |
</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stdout</span></div></div></div><div class="p-Widget p-Panel jp-Diff-removedchunk"><div class="p-Widget p-Panel jp-Diff-deleted jp-Diff-outputPanel"><div class="p-Widget jp-Diff-label">Output deleted</div><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>[ True] | |
</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stdout</span></div></div></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-addremchunk"><div class="p-Widget p-Panel jp-Diff-addedchunk"><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-added"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-added" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">The 2016 and 2014 is equal to zero !</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-added" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true"><div style="min-width: 1px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-added"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-added" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 95px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">**WARNING** : this demonstration shows the necessity of being aware over which period the scenario has been filled.</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">A good rule of thumb is to keep computations on the year of the simulation (except if you really know what you are doing).</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> </span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 95px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 125px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-added" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true"><div style="min-width: 1px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-removedchunk"></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 112px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>11</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted">**WARNING** : this demonstration shows the necessity of being aware over which kind of period each measure you want to compute is based on.</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">### How to know the definition period of a variable</span></pre></div><div class="CodeMirror-merge-collapsed-line" style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">4</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="CodeMirror-widget" role="presentation" cm-ignore-events="true"><span class="CodeMirror-merge-collapsed-widget" ></span></span><span cm-text=""></span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 112px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 142px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 112px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>11</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 34px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">### How to know the definition period of a variable</span></pre></div><div class="CodeMirror-merge-collapsed-line" style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">4</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="CodeMirror-widget" role="presentation" cm-ignore-events="true"><span class="CodeMirror-merge-collapsed-widget" ></span></span><span cm-text=""></span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 112px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 142px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><h1 id="Solutions">Solutions<a target="_self" href="#Solutions" class="jp-InternalAnchorLink">¶</a></h1> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>Specific period calls insure that no errors are made by the user.<br>If a annual based variable is asked to be computed monthly, the software returns an error.</p> | |
<p>But there is solutions to get the result of a given variable on another kind of period, a annual based variable over a month for example.</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><h3 id="Calculate_add-%3A-small-to-larger-period">Calculate_add : small to larger period<a target="_self" href="#Calculate_add-%3A-small-to-larger-period" class="jp-InternalAnchorLink">¶</a></h3> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>The calculate_add method has the same behavior as calculate, except that it sum all variables given their instant of calculus over a period lenght.</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="4"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [9]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [9]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span><span class=" CodeMirror-merge-r-deleted"> </span><span class="cm-variable">simulation</span>.<span class="cm-property">calculate_add</span>(<span class="cm-string">"af"</span>, <span class="cm-string">"2015"</span>)</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span><span class=" CodeMirror-merge-r-inserted">(</span><span class="cm-variable">simulation</span>.<span class="cm-property">calculate_add</span>(<span class="cm-string">"af"</span>, <span class="cm-string">"2015"</span>)<span class=" CodeMirror-merge-r-inserted">)</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-twoway jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>[ 1559.88000488] | |
</pre></div></div><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>[1559.88] | |
</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stdout</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>This result is equivalent to do sum all monthly calculate over the period.</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="1"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [10]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [10]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">annual_af</span> <span class="cm-operator">=</span> <span class="cm-number">0</span> <span class="cm-comment">#create annual_af equals to 0</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-keyword">for</span> <span class="cm-variable">month</span> <span class="cm-keyword">in</span> <span class="cm-builtin">range</span>(<span class="cm-number">1</span>,<span class="cm-number">13</span>): <span class="cm-comment"># [1,2,...,11,12]</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">annual_af</span> <span class="cm-operator">+=</span> <span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span>(<span class="cm-string">"af"</span>, <span class="cm-string">'2015-{}'</span>.<span class="cm-property">format</span>(<span class="cm-variable">month</span>)) <span class="cm-comment">#add recursively af for all month in 2014</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [11]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [11]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span><span class=" CodeMirror-merge-r-deleted"> </span><span class="cm-variable">annual_af</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span><span class=" CodeMirror-merge-r-inserted">(</span><span class="cm-variable">annual_af</span><span class=" CodeMirror-merge-r-inserted">)</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-twoway jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>[ 1559.88000488] | |
</pre></div></div><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>[1559.88] | |
</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stdout</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>We thus see that annual_af is equal to simulation.calculate_add('af', "2014").</p> | |
<p>We can test that :</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="1"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [12]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [12]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span><span class=" CodeMirror-merge-r-deleted"> </span><span class="cm-variable">simulation</span>.<span class="cm-property">calculate_add</span>(<span class="cm-string">'af'</span>,<span class="cm-string">'2015'</span>) <span class="cm-operator">==</span> <span class="cm-variable">annual_af</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span><span class=" CodeMirror-merge-r-inserted">(</span><span class="cm-variable">simulation</span>.<span class="cm-property">calculate_add</span>(<span class="cm-string">'af'</span>,<span class="cm-string">'2015'</span>) <span class="cm-operator">==</span> <span class="cm-variable">annual_af</span><span class=" CodeMirror-merge-r-inserted">)</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs unchanged<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-unchanged jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>[ True] | |
</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stdout</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><h3 id="Calculate_divide-%3A-large-to-smaller-period">Calculate_divide : large to smaller period<a target="_self" href="#Calculate_divide-%3A-large-to-smaller-period" class="jp-InternalAnchorLink">¶</a></h3> | |
</div></div></div><div class="p-Widget p-Panel jp-Diff-addremchunk" data-nbdime-ncellshiddenbefore="1"><div class="p-Widget p-Panel jp-Diff-addedchunk"></div><div class="p-Widget p-Panel jp-Diff-removedchunk"><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-deleted"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [13]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation</span>.<span class="cm-property">calculate_divide</span>(<span class="cm-string">"irpp"</span>, <span class="cm-string">"2015-01"</span>)</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="display: block; bottom: 0px;"><div style="min-width: 1px; height: 36px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; padding-right: 0px; padding-bottom: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-outputsContainer jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-Diff-deleted jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([-200.04400635], dtype=float32)</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">text/plain</span></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [14]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [13]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span>(<span class="cm-string">"irpp"</span>, <span class="cm-string">"2015"</span>)<span class="cm-operator CodeMirror-merge-r-deleted">/</span><span class="cm-number CodeMirror-merge-r-deleted">12</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span><span class="cm-property CodeMirror-merge-r-inserted">_divide</span>(<span class="cm-string">"irpp"</span>, <span class="cm-string">"2015</span><span class="cm-string CodeMirror-merge-r-inserted">-01</span><span class="cm-string">"</span>)</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-twoway jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([-200.04400635], dtype=float32)</pre></div></div><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([-200.044], dtype=float32)</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">text/plain</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-addremchunk"><div class="p-Widget p-Panel jp-Diff-addedchunk"></div><div class="p-Widget p-Panel jp-Diff-removedchunk"><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-deleted"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">Be warned, when a variable is calculated on a monthly basis with calculate_divide (or add), the result is stored in cache.</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">Now you can do :</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true"><div style="min-width: 1px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [15]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [14]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span>(<span class="cm-string CodeMirror-merge-r-deleted">'</span><span class="cm-string">irpp</span><span class="cm-string CodeMirror-merge-r-deleted">'</span>, <span class="cm-string CodeMirror-merge-r-deleted">'</span><span class="cm-string">2015</span><span class="cm-string CodeMirror-merge-r-deleted">-0</span><span class="cm-string">1</span><span class="cm-string CodeMirror-merge-r-deleted">'</span><span class=" CodeMirror-merge-r-deleted">)</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span>(<span class="cm-string CodeMirror-merge-r-inserted">"</span><span class="cm-string">irpp</span><span class="cm-string CodeMirror-merge-r-inserted">"</span>, <span class="cm-string CodeMirror-merge-r-inserted">"</span><span class="cm-string">2015</span><span class="cm-string CodeMirror-merge-r-inserted">"</span><span class=" CodeMirror-merge-r-inserted">)</span><span class="cm-operator CodeMirror-merge-r-inserted">/</span><span class="cm-number">1</span><span class="cm-number CodeMirror-merge-r-inserted">2</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-twoway jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([-200.04400635], dtype=float32)</pre></div></div><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([-200.044], dtype=float32)</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">text/plain</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><h3 id="Calculate_add_divide">Calculate_add_divide<a target="_self" href="#Calculate_add_divide" class="jp-InternalAnchorLink">¶</a></h3> | |
<p>Some variables are not constant over the year but you might want it as an average value for each month.</p> | |
<p>For exemple variable <code>'ars'</code> (allocation de rentrée scolaire), is computed only in september. To smooth it over the year, we must use calculate_add_divide. It will simply sum it over a given period, and then divide it over sub-periods of that period.</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="1"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [37]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [15]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span>(<span class="cm-string">'ars'</span>, <span class="cm-string">'2014'</span>)<span class="cm-operator">/</span><span class="cm-number">12</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-twoway jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([ 65.20347595], dtype=float32)</pre></div></div><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([65.203476], dtype=float32)</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">text/plain</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [17]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [16]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>2</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation</span>.<span class="cm-property">calculate_add_divide</span>(<span class="cm-string">'ars'</span>, <span class="cm-string">"2014-08"</span>)</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-addremchunk"><div class="p-Widget p-Panel jp-Diff-addedchunk"><div class="p-Widget p-Panel jp-Diff-added jp-Diff-outputPanel"><div class="p-Widget jp-Diff-label">Output added</div><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stderr"><pre><span class="ansi-red-fg">---------------------------------------------------------------------------</span> | |
<span class="ansi-red-fg">AttributeError</span> Traceback (most recent call last) | |
<span class="ansi-green-fg"><ipython-input-16-aac3007ef327></span> in <span class="ansi-cyan-fg"><module></span><span class="ansi-blue-fg">()</span> | |
<span class="ansi-green-fg">----> 1</span><span class="ansi-red-fg"> </span>simulation<span class="ansi-blue-fg">.</span>calculate_add_divide<span class="ansi-blue-fg">(</span><span class="ansi-blue-fg">'ars'</span><span class="ansi-blue-fg">,</span> <span class="ansi-blue-fg">"2014-08"</span><span class="ansi-blue-fg">)</span> | |
<span class="ansi-red-fg">AttributeError</span>: 'Simulation' object has no attribute 'calculate_add_divide'</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stderr</span></div></div></div><div class="p-Widget p-Panel jp-Diff-removedchunk"><div class="p-Widget p-Panel jp-Diff-deleted jp-Diff-outputPanel"><div class="p-Widget jp-Diff-label">Output deleted</div><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([ 49.92318344], dtype=float32)</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">text/plain</span></div></div></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-addremchunk"><div class="p-Widget p-Panel jp-Diff-addedchunk"><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-added"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-added" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">What does add_divide do ?</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-added" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true"><div style="min-width: 1px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-removedchunk"><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-deleted"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">Que fait add_divide ?</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true"><div style="min-width: 1px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [32]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [17]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation</span>.<span class="cm-property">compute_add_divide</span><span class="cm-error">??</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-added jp-Diff-outputPanel"><div class="p-Widget jp-Diff-label">Output added</div><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>Object `simulation.compute_add_divide` not found. | |
</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stdout</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><h1 id="The-Concept-of-Period">The Concept of Period<a target="_self" href="#The-Concept-of-Period" class="jp-InternalAnchorLink">¶</a></h1> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>We can also use more exotic period by using the class periods. </p> | |
<p>Actually when we do : <code>simulation.calculate('irpp','2015')</code>, the '2015' string is converted into an object period. </p> | |
<p>A more explicit way to do this, is : <code>simulation.calculate('irpp', periods.period('2015'))</code></p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="2"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [20]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [18]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>2</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-keyword">from</span> <span class="cm-variable">openfisca_core</span> <span class="cm-keyword">import</span> <span class="cm-variable">periods</span> <span class="cm-comment"># OpenFisca_core is the architecture of OpenFisca</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">periods</span>.<span class="cm-property">period</span>(<span class="cm-string">'2015'</span>)</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-twoway jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>Period((u'year', Instant((2015, 1, 1)), 1))</pre></div></div><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>Period(('year', Instant((2015, 1, 1)), 1))</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">text/plain</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [21]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [19]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span>(<span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span>(<span class="cm-string">'irpp'</span>, <span class="cm-variable">periods</span>.<span class="cm-property">period</span>(<span class="cm-string">'2015'</span>)))</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span>(<span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span>(<span class="cm-string">'irpp'</span>, <span class="cm-variable">periods</span>.<span class="cm-property">period</span>(<span class="cm-string">'2015'</span>))<span class="cm-operator">==</span> <span class="cm-variable">simulation</span>.<span class="cm-property">calculate</span>(<span class="cm-string">'irpp'</span>, <span class="cm-number">2015</span>))</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-twoway jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>[-2400.52807617] | |
[ True] | |
</pre></div></div><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>[-2400.528] | |
[ True] | |
</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stdout</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><h3 id="Definition">Definition<a target="_self" href="#Definition" class="jp-InternalAnchorLink">¶</a></h3> | |
<p>We can look at periods docstring to understand how it works :</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="1"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [22]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [20]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span><span class=" CodeMirror-merge-r-deleted"> </span><span class="cm-variable">periods</span>.<span class="cm-property">period</span>.<span class="cm-property">__doc__</span>[: <span class="cm-number">280</span>] <span class="cm-comment">#periods.period? would also display the help, suppress the brackets to get full doc</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span><span class=" CodeMirror-merge-r-inserted">(</span><span class="cm-variable">periods</span>.<span class="cm-property">period</span>.<span class="cm-property">__doc__</span>[: <span class="cm-number">280</span>]<span class=" CodeMirror-merge-r-inserted">)</span> <span class="cm-comment">#periods.period? would also display the help, suppress the brackets to get full doc</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-twoway jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>Return a new period, aka a triple (unit, start_instant, size). | |
>>> period(u'2014') | |
Period((u'year', Instant((2014, 1, 1)), 1)) | |
>>> period(u'2014:2') | |
Period((u'year', Instant((2014, 1, 1)), 2)) | |
>>> period(u'2014-2') | |
Period((u'month', Instant((2014, 2, 1)), | |
</pre></div></div><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>Return a new period, aka a triple (unit, start_instant, size). | |
>>> period('2014') | |
Period((YEAR, Instant((2014, 1, 1)), 1)) | |
>>> period('year:2014') | |
Period((YEAR, Instant((2014, 1, 1)), 1)) | |
>>> period('2014-2') | |
Period((MONTH, Instant((2014, 2, 1)), 1)) | |
</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stdout</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>A <em>period</em> is constituted of three parameters:</p> | |
<ul> | |
<li>A unit : day, month and year</li> | |
<li>A start instant : the date at which it starts</li> | |
<li>And a size : the number of unit </li> | |
</ul> | |
<p>periods.period('day','2014-03-01', 32) would be a period going from the first of March to the first of april</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><h3 id="Computing-over-several-months">Computing over several months<a target="_self" href="#Computing-over-several-months" class="jp-InternalAnchorLink">¶</a></h3> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>If we want to calculate the 'allocation familiales' from the April to July.</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="3"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [23]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [21]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>2</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">af_march_to_july</span> <span class="cm-operator">=</span> <span class="cm-variable">simulation</span>.<span class="cm-property">calculate_add</span>(<span class="cm-string">'af'</span> ,<span class="cm-variable">periods</span>.<span class="cm-property">period</span>(<span class="cm-string CodeMirror-merge-r-deleted">'</span><span class="cm-string">month</span><span class="cm-string CodeMirror-merge-r-deleted">'</span><span class=" CodeMirror-merge-r-deleted">, </span><span class="cm-string CodeMirror-merge-r-deleted">'</span><span class="cm-string">2015-04</span><span class="cm-string CodeMirror-merge-r-deleted">'</span><span class=" CodeMirror-merge-r-deleted">, </span><span class="cm-number">4</span>))</span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span><span class=" CodeMirror-merge-r-deleted"> </span><span class="cm-variable">af_march_to_july</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>2</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">af_march_to_july</span> <span class="cm-operator">=</span> <span class="cm-variable">simulation</span>.<span class="cm-property">calculate_add</span>(<span class="cm-string">'af'</span> ,<span class="cm-variable">periods</span>.<span class="cm-property">period</span>(<span class="cm-string CodeMirror-merge-r-inserted">"</span><span class="cm-string">month</span><span class="cm-string CodeMirror-merge-r-inserted">:</span><span class="cm-string">2015-04</span><span class="cm-string CodeMirror-merge-r-inserted">:</span><span class="cm-string">4</span><span class="cm-string CodeMirror-merge-r-inserted">"</span>))</span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span><span class=" CodeMirror-merge-r-inserted">(</span><span class="cm-variable">af_march_to_july</span><span class=" CodeMirror-merge-r-inserted">)</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-twoway jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>[ 519.96002197] | |
</pre></div></div><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>[519.96] | |
</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stdout</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-addremchunk"><div class="p-Widget p-Panel jp-Diff-addedchunk"><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-added"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-added" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">See how to manipulate extensively periods and instant in http://openfisca.org/doc/coding-the-legislation/35_periods.html</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-added" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true"><div style="min-width: 1px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-removedchunk"><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-deleted"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 112px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>5</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation" style=""><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">A simplificated version of period declaration exists with the symbol: `":"`.</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">`year-month:n` means n months beginning at the month, year.</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">4</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">5</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">Example with `af_march_to_july`:</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 112px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 142px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true"><div style="min-width: 1px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-deleted"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [24]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>2</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">af_march_to_july</span> <span class="cm-operator">=</span> <span class="cm-variable">simulation</span>.<span class="cm-property">calculate_add</span>(<span class="cm-string">'af'</span> ,<span class="cm-string">'2015-04:4'</span>)</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span> <span class="cm-variable">af_march_to_july</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-deleted" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="display: block; bottom: 0px;"><div style="min-width: 1px; height: 36px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; padding-right: 0px; padding-bottom: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-outputsContainer jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-Diff-deleted jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>[ 519.96002197] | |
</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stdout</span></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><h3 id="Computing-over-several-years-with-identique-scenario">Computing over several years with identique scenario<a target="_self" href="#Computing-over-several-years-with-identique-scenario" class="jp-InternalAnchorLink">¶</a></h3> | |
<p>Computing over several years needs to rethink how we've declared the scenario:<br>the starting scenario has, as <code>period</code>, one year, <code>2015</code>, so it won't be able to compute anything outside this time interval.</p> | |
<p>The idea is to change the period over which the scenario applies, using the syntax shown previously. </p> | |
<p>*<em>WARNING : handling the stretching of values *</em><br>Doing that defines the other variables for the entire time interval including their values.</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="1"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [25]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [22]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 146px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>14</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation" style=""><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-comment">#we have to give a new scenario</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">scenario_over_years</span> <span class="cm-operator">=</span> <span class="cm-variable">tax_benefit_system</span>.<span class="cm-property">new_scenario</span>()</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">scenario_over_years</span>.<span class="cm-property">init_single_entity</span>(</span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">4</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">period</span> <span class="cm-operator">=</span> <span class="cm-string">'2014:3'</span>, <span class="cm-comment"># it means three years starting in 2014</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">5</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">parent1</span> <span class="cm-operator">=</span> <span class="cm-builtin">dict</span>(</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">6</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">date_naissance</span> <span class="cm-operator">=</span> <span class="cm-number">1975</span>,</span></pre></div><div class="CodeMirror-merge-collapsed-line" style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">7</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="CodeMirror-widget" role="presentation" cm-ignore-events="true"><span class="CodeMirror-merge-collapsed-widget" ></span></span><span cm-text=""></span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 146px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 176px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 146px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>14</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation" style=""><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-comment">#we have to give a new scenario</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">scenario_over_years</span> <span class="cm-operator">=</span> <span class="cm-variable">tax_benefit_system</span>.<span class="cm-property">new_scenario</span>()</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">scenario_over_years</span>.<span class="cm-property">init_single_entity</span>(</span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">4</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">period</span> <span class="cm-operator">=</span> <span class="cm-string">'</span><span class="cm-string CodeMirror-merge-r-inserted">year:</span><span class="cm-string">2014:3'</span>, <span class="cm-comment"># it means three years starting in 2014</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">5</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">parent1</span> <span class="cm-operator">=</span> <span class="cm-builtin">dict</span>(</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">6</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">date_naissance</span> <span class="cm-operator">=</span> <span class="cm-number">1975</span>,</span></pre></div><div class="CodeMirror-merge-collapsed-line" style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">7</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="CodeMirror-widget" role="presentation" cm-ignore-events="true"><span class="CodeMirror-merge-collapsed-widget" ></span></span><span cm-text=""></span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 146px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 176px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p><strong>WARNING : handling the age</strong><br>We've changed the variable <code>age</code> to <code>date_naissance</code> in order that the individuals get older. If we've kept the <code>age</code> they would have the same age for the entire period.</p> | |
<p>Now we can compute the <code>irpp</code> with the function previously used : <code>calculate_add</code></p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="1"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [26]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [23]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation_over_years</span>.<span class="cm-property">calculate_add</span>(<span class="cm-string">'irpp'</span>, <span class="cm-string">'2014:2'</span>) <span class="cm-comment"># for 2014 and 2015</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation_over_years</span>.<span class="cm-property">calculate_add</span>(<span class="cm-string">'irpp'</span>, <span class="cm-string">'</span><span class="cm-string CodeMirror-merge-r-inserted">year:</span><span class="cm-string">2014:2'</span>) <span class="cm-comment"># for 2014 and 2015</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-twoway jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([-4813.68652344], dtype=float32)</pre></div></div><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([-4813.6865], dtype=float32)</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">text/plain</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>It takes in consideration the legislation change between the two years.<br>Therefore it equals the sum of <code>irpp</code> for each year but not the double of <code>irpp</code> for one year.</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="1"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [27]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [24]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>2</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span>(<span class="cm-variable">simulation_over_years</span>.<span class="cm-property">calculate</span>(<span class="cm-string">'irpp'</span>, <span class="cm-string">'2015'</span>) <span class="cm-operator">+</span> <span class="cm-variable">simulation_over_years</span>.<span class="cm-property">calculate</span>(<span class="cm-string">'irpp'</span>, <span class="cm-string">'2014'</span>))</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-builtin">print</span>(<span class="cm-variable">simulation_over_years</span>.<span class="cm-property">calculate_add</span>(<span class="cm-string">'irpp'</span>, <span class="cm-string">'2014'</span>)<span class="cm-operator">*</span><span class="cm-number">2</span>)</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-twoway jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>[-4813.68652344] | |
[-4826.31738281] | |
</pre></div></div><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="application/vnd.jupyter.stdout"><pre>[-4813.6865] | |
[-4826.3174] | |
</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">application/vnd.jupyter.stdout</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p>These formulas are still working for variables defined on a monthly basis.</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="1"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [28]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [25]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation_over_years</span>.<span class="cm-property">calculate_add</span>(<span class="cm-string">'af'</span>, <span class="cm-string">'2015:2'</span>)</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation_over_years</span>.<span class="cm-property">calculate_add</span>(<span class="cm-string">'af'</span>, <span class="cm-string">'</span><span class="cm-string CodeMirror-merge-r-inserted">year:</span><span class="cm-string">2015:2'</span>)</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-twoway jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([ 4616.37402344], dtype=float32)</pre></div></div><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([4616.374], dtype=float32)</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">text/plain</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><h3 id="Computing-over-several-years-changing-scenario">Computing over several years changing scenario<a target="_self" href="#Computing-over-several-years-changing-scenario" class="jp-InternalAnchorLink">¶</a></h3> | |
<p>You might want to make evolve some given values over the years.</p> | |
<p>The tool for it will be to use a Python dictionnary.</p> | |
<p>For example, if you want to give a wage evolution :</p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="1"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [29]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [26]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 112px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>13</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation" style=""><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">scenario_over_years</span> <span class="cm-operator">=</span> <span class="cm-variable">tax_benefit_system</span>.<span class="cm-property">new_scenario</span>()</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">scenario_over_years</span>.<span class="cm-property">init_single_entity</span>(</span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">period</span> <span class="cm-operator">=</span> <span class="cm-string">'2014:3'</span>,</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">4</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">parent1</span> <span class="cm-operator">=</span> <span class="cm-builtin">dict</span>(</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">5</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">date_naissance</span> <span class="cm-operator">=</span> <span class="cm-number">1975</span>,</span></pre></div><div class="CodeMirror-merge-collapsed-line" style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">6</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="CodeMirror-widget" role="presentation" cm-ignore-events="true"><span class="CodeMirror-merge-collapsed-widget" ></span></span><span cm-text=""></span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 112px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 142px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 112px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>13</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation" style=""><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">scenario_over_years</span> <span class="cm-operator">=</span> <span class="cm-variable">tax_benefit_system</span>.<span class="cm-property">new_scenario</span>()</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">scenario_over_years</span>.<span class="cm-property">init_single_entity</span>(</span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">period</span> <span class="cm-operator">=</span> <span class="cm-string">'</span><span class="cm-string CodeMirror-merge-r-inserted">year:</span><span class="cm-string">2014:3'</span>,</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">4</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">parent1</span> <span class="cm-operator">=</span> <span class="cm-builtin">dict</span>(</span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">5</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> <span class="cm-variable">date_naissance</span> <span class="cm-operator">=</span> <span class="cm-number">1975</span>,</span></pre></div><div class="CodeMirror-merge-collapsed-line" style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">6</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="CodeMirror-widget" role="presentation" cm-ignore-events="true"><span class="CodeMirror-merge-collapsed-widget" ></span></span><span cm-text=""></span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 112px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 142px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [30]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [27]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation_over_years</span>.<span class="cm-property">calculate_add</span>(<span class="cm-string">'irpp'</span>, <span class="cm-string">'2014:3'</span>) <span class="cm-comment"># for 2014, 2015 and 2016</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-variable">simulation_over_years</span>.<span class="cm-property">calculate_add</span>(<span class="cm-string">'irpp'</span>, <span class="cm-string">'</span><span class="cm-string CodeMirror-merge-r-inserted">year:</span><span class="cm-string">2014:3'</span>) <span class="cm-comment"># for 2014, 2015 and 2016</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-opened"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-opened"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-twoway jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([-7376.67675781], dtype=float32)</pre></div></div><div class="p-Widget p-Panel jp-Diff-remote"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre>array([-7362.9565], dtype=float32)</pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><span class="p-Widget">text/plain</span></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [ ]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [ ]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px; padding-right: 0px; padding-bottom: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": true</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [ ]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [ ]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px; padding-right: 0px; padding-bottom: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": true</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [ ]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [ ]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px; padding-right: 0px; padding-bottom: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": true</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [ ]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [ ]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px; padding-right: 0px; padding-bottom: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": true</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [ ]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [ ]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px; padding-right: 0px; padding-bottom: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": true</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [ ]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [ ]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px; padding-right: 0px; padding-bottom: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": true</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-unchanged"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown" data-mime-type="text/markdown"><p><em>Command line to get the Notebook's Table of Contents:</em></p> | |
</div></div></div><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-twoway" data-nbdime-ncellshiddenbefore="1"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1; margin-right: 4px;">In [31]:</div><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [28]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-unchanged" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 44px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>2</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-operator">%%</span><span class="cm-variable">javascript</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-error">$</span>.<span class="cm-property">getScript</span>(<span class="cm-string">'https://kmahelona.github.io/ipython_notebook_goodies/ipython_notebook_toc.js'</span>)</span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 44px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 74px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-2pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 61px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk CodeMirror-merge-r-chunk-start CodeMirror-merge-r-chunk-end CodeMirror-linebackground"></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-merge-r-deleted"> "collapsed": false</span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 61px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 91px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-gap p-Widget"><div class="CodeMirror-merge-scrolllock-wrap"><div class="CodeMirror-merge-scrolllock" title="Toggle locked scrolling">⇛⇚</div></div></div><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-remote" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 5px; left: 43px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="bottom: 0px; width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; padding-right: 0px; padding-bottom: 0px; margin-bottom: 0px; border-right-width: 30px; min-height: 78px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>3</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">{</span></span></pre></div><div class="" style="position: relative;"><div class="CodeMirror-merge-r-chunk-end-empty CodeMirror-merge-r-chunk-start CodeMirror-linebackground"></div><div class="CodeMirror-linewidget" cm-ignore-events="true"><div class="CodeMirror-merge-spacer" style="height: 17px; min-width: 1px;"></div></div><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">2</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">3</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class=" CodeMirror-matchingbracket">}</span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 78px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 108px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-outputs"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Outputs unchanged<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel jp-Diff-outputsContainer"><div class="p-Widget p-Panel jp-Diff-trustCandidate jp-Diff-unchanged jp-Diff-outputPanel"><div class="p-Widget"><div class="p-Widget p-Panel jp-Diff-base"><div class="p-Widget jp-RenderedText jp-Diff-renderedOutput" data-mime-type="text/plain"><pre><IPython.core.display.Javascript object></pre></div></div></div><div class="p-Widget p-Panel jp-Diff-outputMenu"><button class="p-Widget jp-Diff-showOutputSourceButton">Show source</button><button class="p-Widget jp-Diff-trustOutputButton">Trust</button><select class="p-Widget jp-Diff-outputMimetypeSelect"><option value="application/javascript">application/javascript</option><option value="text/plain">text/plain</option></select></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-addremchunk"><div class="p-Widget p-Panel jp-Diff-addedchunk"><div class="p-Widget p-Panel jp-Cell-diff jp-Diff-added"><div class="p-Widget p-Panel jp-Cellrow-source"><div class="p-Widget p-Panel p-mod-left-to-right p-FlexPanel jp-Cellrow-executionCount" style="flex-wrap: nowrap;"><div class="p-Widget jp-InputPrompt p-FlexPanel-child" style="flex-grow: 1;">In [ ]:</div></div><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-added" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 6px; left: 44px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="width: 18px; pointer-events: none;"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: auto;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 38px; margin-bottom: 0px; border-right-width: 30px; min-height: 27px; padding-right: 0px; padding-bottom: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><div class="CodeMirror-linenumber CodeMirror-gutter-elt"><div>1</div></div></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"><div class="CodeMirror-cursor" style="left: 0px; top: 0px; height: 17px;"> </div></div><div class="CodeMirror-code" role="presentation"><div style="position: relative;"><div class="CodeMirror-gutter-wrapper" style="left: -38px;"><div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div></div><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span cm-text=""></span></span></pre></div></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 27px;"></div><div class="CodeMirror-gutters" style="left: 0px; height: 57px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div><div class="p-Widget p-Panel jp-CollapsiblePanel jp-Cellrow-metadata"><div class="p-Widget p-Panel jp-CollapsiblePanel-header">Metadata changed<button class="jp-CollapsiblePanel-header-icon jp-CollapsiblePanel-header-icon-closed"></button></div><div class="p-Widget p-Panel jp-CollapsiblePanel-container"><div class="p-Widget p-Panel jp-CollapsiblePanel-slider jp-CollapsiblePanel-closed"><div class="p-Widget p-Panel CodeMirror-merge CodeMirror-merge-1pane"><div class="p-Widget jp-CodeMirrorEditor jp-Editor CodeMirror-merge-pane CodeMirror-merge-pane-base CodeMirror-merge-pane-added" data-type="inline"><div class="CodeMirror jp-mod-readOnly cm-s-jupyter CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div><div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true"><div style="min-width: 1px;"></div></div><div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true"><div style="height: 100%; min-height: 1px;"></div></div><div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler" cm-not-content="true"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px;"><div style="position: relative;"><div class="CodeMirror-lines" role="presentation"><div role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-cursors"></div><div class="CodeMirror-code" role="presentation"></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px;"></div><div class="CodeMirror-gutters" style="left: 0px;"><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 1px;"></div></div></div></div></div><div class="CodeMirror-merge-clear p-Widget" style="height: 0px; clear: both;"></div></div></div></div></div></div></div><div class="p-Widget p-Panel jp-Diff-removedchunk"></div></div></div></div></div><script> | |
var headers = document.getElementsByClassName("jp-CollapsiblePanel-header"); | |
for (var i=0;i<headers.length;++i){ | |
var header=headers[i]; | |
var slider = header.parentNode.getElementsByClassName("jp-CollapsiblePanel-slider")[0]; | |
header.onclick = function(slider){ return function() { | |
if (slider.className.indexOf("opened") !== -1) { | |
slider.className = slider.className.replace(/opened/g, "closed"); | |
} else { | |
slider.className = slider.className.replace(/closed/g, "opened"); | |
} | |
}; }(slider); | |
} | |
</script> | |
</body></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment