Skip to content

Commit

Permalink
Add changes for 9ad6ffc
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 25, 2024
1 parent 752787c commit 3242666
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion _static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '2.4.0',
VERSION: '2.5.0',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions tutorials/01_basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ <h3>Loading a temporal outcome<a class="headerlink" href="#loading-a-temporal-ou
white-space: pre-wrap;
}
</style>
<small>shape: (3_103, 3)</small><table border="1" class="dataframe"><thead><tr><th>entity_id</th><th>timestamp</th><th>value</th></tr><tr><td>i64</td><td>datetime[μs]</td><td>i64</td></tr></thead><tbody><tr><td>2373</td><td>1967-11-19 04:51:00</td><td>1</td></tr><tr><td>7354</td><td>1967-10-17 07:57:00</td><td>1</td></tr><tr><td>2841</td><td>1968-07-03 15:25:00</td><td>1</td></tr><tr><td>554</td><td>1966-07-02 08:34:00</td><td>1</td></tr><tr><td>1495</td><td>1965-02-02 22:20:00</td><td>1</td></tr><tr><td>&hellip;</td><td>&hellip;</td><td>&hellip;</td></tr><tr><td>8845</td><td>1965-10-31 10:57:00</td><td>1</td></tr><tr><td>3983</td><td>1965-10-29 17:57:00</td><td>1</td></tr><tr><td>5856</td><td>1969-01-18 04:36:00</td><td>1</td></tr><tr><td>2224</td><td>1965-04-28 23:06:00</td><td>1</td></tr><tr><td>9896</td><td>1967-08-17 20:19:00</td><td>1</td></tr></tbody></table></div></div></div>
<small>shape: (3_103, 3)</small><table border="1" class="dataframe"><thead><tr><th>entity_id</th><th>timestamp</th><th>value</th></tr><tr><td>i64</td><td>datetime[μs]</td><td>i64</td></tr></thead><tbody><tr><td>21</td><td>1965-10-15 10:59:00</td><td>1</td></tr><tr><td>5958</td><td>1967-11-06 20:14:00</td><td>1</td></tr><tr><td>2847</td><td>1968-08-04 06:12:00</td><td>1</td></tr><tr><td>1453</td><td>1967-04-10 10:49:00</td><td>1</td></tr><tr><td>1465</td><td>1967-02-26 00:09:00</td><td>1</td></tr><tr><td>&hellip;</td><td>&hellip;</td><td>&hellip;</td></tr><tr><td>5853</td><td>1967-08-01 22:47:00</td><td>1</td></tr><tr><td>4662</td><td>1968-12-05 12:55:00</td><td>1</td></tr><tr><td>5823</td><td>1968-01-28 06:49:00</td><td>1</td></tr><tr><td>6800</td><td>1966-08-30 18:46:00</td><td>1</td></tr><tr><td>3581</td><td>1967-10-02 04:59:00</td><td>1</td></tr></tbody></table></div></div></div>
</div>
<p>This dataframe should contain at most 1 row per ID, which is the first time they experience the outcome.</p>
<p>We now have 4 dataframes loaded: df_prediction_times, df_synth_predictors, df_synth_sex and df_synth_outcome.</p>
Expand Down Expand Up @@ -645,7 +645,7 @@ <h2>Flattening<a class="headerlink" href="#flattening" title="Permalink to this
</div>
</div>
<div class="cell_output docutils container">
<script type="application/vnd.jupyter.widget-view+json">{"version_major": 2, "version_minor": 0, "model_id": "3143f541541a4c8c9e69b60faba033be"}</script><div class="output text_html"><pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace">Processing spec: ['female']
<script type="application/vnd.jupyter.widget-view+json">{"version_major": 2, "version_minor": 0, "model_id": "f1442dcfaba343bc95d5619b9a18ba52"}</script><div class="output text_html"><pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace">Processing spec: ['female']
</pre>
</div><div class="output text_html"><pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace">Processing spec: ['value_1']
</pre>
Expand Down Expand Up @@ -843,7 +843,7 @@ <h2>Flattening<a class="headerlink" href="#flattening" title="Permalink to this
<script src="../_static/clipboard.min.js"></script>
<script src="../_static/copybutton.js"></script>
<script src="../_static/design-tabs.js"></script>
<script type="application/vnd.jupyter.widget-state+json">{"state": {"6a1eccadfa604c5c83363b8beb72b593": {"model_name": "LayoutModel", "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "state": {"_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null}}, "3143f541541a4c8c9e69b60faba033be": {"model_name": "OutputModel", "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", "state": {"_dom_classes": [], "_model_module": "@jupyter-widgets/output", "_model_module_version": "1.0.0", "_model_name": "OutputModel", "_view_count": null, "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", "layout": "IPY_MODEL_6a1eccadfa604c5c83363b8beb72b593", "msg_id": "", "outputs": [{"output_type": "display_data", "metadata": {}, "data": {"text/plain": "Processing specs... \u001b[38;2;114;156;31m\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u001b[0m \u001b[35m100%\u001b[0m \u001b[33m0:00:00\u001b[0m\n", "text/html": "<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">Processing specs... <span style=\"color: #729c1f; text-decoration-color: #729c1f\">\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501</span> <span style=\"color: #800080; text-decoration-color: #800080\">100%</span> <span style=\"color: #808000; text-decoration-color: #808000\">0:00:00</span>\n</pre>\n"}}], "tabbable": null, "tooltip": null}}}, "version_major": 2, "version_minor": 0}</script>
<script type="application/vnd.jupyter.widget-state+json">{"state": {"dbd5f43a461a4e5fa21a8d9877162af0": {"model_name": "LayoutModel", "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "state": {"_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null}}, "f1442dcfaba343bc95d5619b9a18ba52": {"model_name": "OutputModel", "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", "state": {"_dom_classes": [], "_model_module": "@jupyter-widgets/output", "_model_module_version": "1.0.0", "_model_name": "OutputModel", "_view_count": null, "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", "layout": "IPY_MODEL_dbd5f43a461a4e5fa21a8d9877162af0", "msg_id": "", "outputs": [{"output_type": "display_data", "metadata": {}, "data": {"text/plain": "Processing specs... \u001b[38;2;114;156;31m\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u001b[0m \u001b[35m100%\u001b[0m \u001b[33m0:00:00\u001b[0m\n", "text/html": "<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">Processing specs... <span style=\"color: #729c1f; text-decoration-color: #729c1f\">\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501</span> <span style=\"color: #800080; text-decoration-color: #800080\">100%</span> <span style=\"color: #808000; text-decoration-color: #808000\">0:00:00</span>\n</pre>\n"}}], "tabbable": null, "tooltip": null}}}, "version_major": 2, "version_minor": 0}</script>
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>
<script crossorigin="anonymous" data-jupyter-widgets-cdn="https://cdn.jsdelivr.net/npm/" src="https://cdn.jsdelivr.net/npm/@jupyter-widgets/[email protected]/dist/embed-amd.js"></script>
</body>
Expand Down
6 changes: 3 additions & 3 deletions tutorials/02_advanced.html
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ <h2>Multiple aggregation functions and lookperiods<a class="headerlink" href="#m
</div>
</div>
<div class="cell_output docutils container">
<script type="application/vnd.jupyter.widget-view+json">{"version_major": 2, "version_minor": 0, "model_id": "2bbbd95978bd4a14aa9ce1979e4ff0d9"}</script><div class="output text_html"><pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace">Processing spec: ['value']
<script type="application/vnd.jupyter.widget-view+json">{"version_major": 2, "version_minor": 0, "model_id": "7d3c3e1c82d24fcfa5ae6c3141e57345"}</script><div class="output text_html"><pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace">Processing spec: ['value']
</pre>
</div><div class="output text_html"><pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"></pre>
</div></div>
Expand Down Expand Up @@ -392,7 +392,7 @@ <h2>Multiple values from the same dataframe<a class="headerlink" href="#multiple
white-space: pre-wrap;
}
</style>
<small>shape: (5, 4)</small><table border="1" class="dataframe"><thead><tr><th>entity_id</th><th>timestamp</th><th>value</th><th>new_predictor</th></tr><tr><td>i64</td><td>datetime[μs]</td><td>f64</td><td>f64</td></tr></thead><tbody><tr><td>9476</td><td>1969-03-05 08:08:00</td><td>0.816995</td><td>0.298009</td></tr><tr><td>4631</td><td>1967-04-10 22:48:00</td><td>4.818074</td><td>0.136742</td></tr><tr><td>3890</td><td>1969-12-15 14:07:00</td><td>2.503789</td><td>0.500358</td></tr><tr><td>1098</td><td>1965-11-19 03:53:00</td><td>3.515041</td><td>0.637961</td></tr><tr><td>1626</td><td>1966-05-03 14:07:00</td><td>4.353115</td><td>0.728808</td></tr></tbody></table></div></div></div>
<small>shape: (5, 4)</small><table border="1" class="dataframe"><thead><tr><th>entity_id</th><th>timestamp</th><th>value</th><th>new_predictor</th></tr><tr><td>i64</td><td>datetime[μs]</td><td>f64</td><td>f64</td></tr></thead><tbody><tr><td>9476</td><td>1969-03-05 08:08:00</td><td>0.816995</td><td>0.038813</td></tr><tr><td>4631</td><td>1967-04-10 22:48:00</td><td>4.818074</td><td>0.851257</td></tr><tr><td>3890</td><td>1969-12-15 14:07:00</td><td>2.503789</td><td>0.361866</td></tr><tr><td>1098</td><td>1965-11-19 03:53:00</td><td>3.515041</td><td>0.235635</td></tr><tr><td>1626</td><td>1966-05-03 14:07:00</td><td>4.353115</td><td>0.581922</td></tr></tbody></table></div></div></div>
</div>
<p>We make a <code class="docutils literal notranslate"><span class="pre">PredictorSpec</span></code> similar to above. Let’s try some new aggregators.</p>
<div class="cell docutils container">
Expand Down Expand Up @@ -428,7 +428,7 @@ <h2>Multiple values from the same dataframe<a class="headerlink" href="#multiple
</div>
</div>
<div class="cell_output docutils container">
<script type="application/vnd.jupyter.widget-view+json">{"version_major": 2, "version_minor": 0, "model_id": "22f0fdcfa4054f42b94c17831518d47b"}</script><div class="output text_html"><pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace">Processing spec: ['value', 'new_predictor']
<script type="application/vnd.jupyter.widget-view+json">{"version_major": 2, "version_minor": 0, "model_id": "24435abfea2f4977a54b52107c2adbe5"}</script><div class="output text_html"><pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace">Processing spec: ['value', 'new_predictor']
</pre>
</div><div class="output text_html"><pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"></pre>
</div><div class="output traceback highlight-ipythontb notranslate"><div class="highlight"><pre><span></span><span class="gt">---------------------------------------------------------------------------</span>
Expand Down
2 changes: 1 addition & 1 deletion tutorials/03_text.html
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ <h2>Generating predictors from embedded text<a class="headerlink" href="#generat
</div>
</div>
<div class="cell_output docutils container">
<script type="application/vnd.jupyter.widget-view+json">{"version_major": 2, "version_minor": 0, "model_id": "f94bd6b5071147b8b5b5a21f6b552637"}</script><div class="output text_html"><pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace">Processing spec: ['and', 'for', 'in', 'of', 'or', 'patient', 'that', 'the', 'to', 'was']
<script type="application/vnd.jupyter.widget-view+json">{"version_major": 2, "version_minor": 0, "model_id": "8adee5179ad04e889440b662f6c14194"}</script><div class="output text_html"><pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace">Processing spec: ['and', 'for', 'in', 'of', 'or', 'patient', 'that', 'the', 'to', 'was']
</pre>
</div><div class="output text_html"><pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"></pre>
</div><div class="output traceback highlight-ipythontb notranslate"><div class="highlight"><pre><span></span><span class="gt">---------------------------------------------------------------------------</span>
Expand Down

0 comments on commit 3242666

Please sign in to comment.