Skip to content

Commit

Permalink
deploy: 2727dee
Browse files Browse the repository at this point in the history
  • Loading branch information
amrit110 committed Sep 21, 2023
1 parent 5b79012 commit 1af67d3
Show file tree
Hide file tree
Showing 95 changed files with 3,542 additions and 2,589 deletions.
8 changes: 4 additions & 4 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<meta name="generator" content="Docusaurus v2.2.0">
<title data-rh="true">Page Not Found | CyclOps</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://vectorinstitute.github.io/cyclops/404.html"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docusaurus_tag" content="default"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docsearch:docusaurus_tag" content="default"><meta data-rh="true" property="og:title" content="Page Not Found | CyclOps"><link data-rh="true" rel="icon" href="/cyclops/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://vectorinstitute.github.io/cyclops/404.html"><link data-rh="true" rel="alternate" href="https://vectorinstitute.github.io/cyclops/404.html" hreflang="en"><link data-rh="true" rel="alternate" href="https://vectorinstitute.github.io/cyclops/404.html" hreflang="x-default"><link rel="alternate" type="application/rss+xml" href="/cyclops/blog/rss.xml" title="CyclOps RSS Feed">
<link rel="alternate" type="application/atom+xml" href="/cyclops/blog/atom.xml" title="CyclOps Atom Feed"><link rel="stylesheet" href="/cyclops/assets/css/styles.26dc1a25.css">
<link rel="preload" href="/cyclops/assets/js/runtime~main.b8dcc3e6.js" as="script">
<link rel="preload" href="/cyclops/assets/js/main.d39f8eb6.js" as="script">
<link rel="preload" href="/cyclops/assets/js/runtime~main.c2b34449.js" as="script">
<link rel="preload" href="/cyclops/assets/js/main.fa1caf66.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
<div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to main content</a></div><nav class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/cyclops/"><div class="navbar__logo"><img src="/cyclops/img/cyclops_logo-dark.png" alt="CyclOps Logo" class="themedImage_ToTc themedImage--light_HNdA"><img src="/cyclops/img/cyclops_logo-dark.png" alt="CyclOps Logo" class="themedImage_ToTc themedImage--dark_i4oU"></div><b class="navbar__title text--truncate"></b></a><a href="https://vectorinstitute.github.io/cyclops/api" target="_self" rel="noopener noreferrer" class="navbar__item navbar__link">API</a><a href="https://vectorinstitute.github.io/cyclops/api/tutorials" target="_self" rel="noopener noreferrer" class="navbar__item navbar__link">Tutorial</a></div><div class="navbar__items navbar__items--right"><a href="https://github.com/VectorInstitute/cyclops" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><div class="searchBox_ZlJk"></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0"><main class="container margin-vert--xl"><div class="row"><div class="col col--6 col--offset-3"><h1 class="hero__title">Page Not Found</h1><p>We could not find what you were looking for.</p><p>Please contact the owner of the site that linked you to the original URL and let them know their link is broken.</p></div></div></main></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Docs</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://vectorinstitute.github.io/cyclops/api" target="_self" rel="noopener noreferrer" class="footer__link-item">API</a></li><li class="footer__item"><a href="https://vectorinstitute.github.io/cyclops/api/tutorials" target="_self" rel="noopener noreferrer" class="footer__link-item">Tutorial</a></li></ul></div><div class="col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/cyclops/blog">Blog</a></li><li class="footer__item"><a href="https://github.com/VectorInstitute/cyclops" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2023 CyclOps, built by AI Engineering @ Vector Institute</div></div></div></footer></div>
<script src="/cyclops/assets/js/runtime~main.b8dcc3e6.js"></script>
<script src="/cyclops/assets/js/main.d39f8eb6.js"></script>
<script src="/cyclops/assets/js/runtime~main.c2b34449.js"></script>
<script src="/cyclops/assets/js/main.fa1caf66.js"></script>
</body>
</html>
Binary file modified api/_images/tutorials_nihcxr_monitor_api_10_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/_images/tutorials_nihcxr_monitor_api_12_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/_images/tutorials_nihcxr_monitor_api_6_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/_images/tutorials_nihcxr_monitor_api_8_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions api/_modules/cyclops/query/ops.html
Original file line number Diff line number Diff line change
Expand Up @@ -3319,6 +3319,52 @@ <h1>Source code for cyclops.query.ops</h1><div class="highlight"><pre>



<div class="viewcode-block" id="DropEmpty">
<a class="viewcode-back" href="../../../reference/api/_autosummary/cyclops.query.ops.DropEmpty.html#cyclops.query.ops.DropEmpty">[docs]</a>
<span class="k">class</span> <span class="nc">DropEmpty</span><span class="p">(</span><span class="n">QueryOp</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Remove rows with empty values in some specified columns.</span>

<span class="sd"> Parameters</span>
<span class="sd"> ----------</span>
<span class="sd"> cols</span>
<span class="sd"> Columns in which, if a value is empty, the corresponding row is removed.</span>

<span class="sd"> Examples</span>
<span class="sd"> --------</span>
<span class="sd"> &gt;&gt;&gt; DropEmpty(&quot;col1&quot;)(table)</span>
<span class="sd"> &gt;&gt;&gt; DropEmpty([&quot;col1&quot;, &quot;col2&quot;])(table)</span>

<span class="sd"> &quot;&quot;&quot;</span>

<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">cols</span><span class="p">:</span> <span class="n">typing</span><span class="o">.</span><span class="n">Union</span><span class="p">[</span><span class="nb">str</span><span class="p">,</span> <span class="n">typing</span><span class="o">.</span><span class="n">List</span><span class="p">[</span><span class="nb">str</span><span class="p">]]):</span>
<span class="nb">super</span><span class="p">()</span><span class="o">.</span><span class="fm">__init__</span><span class="p">()</span>
<span class="bp">self</span><span class="o">.</span><span class="n">cols</span> <span class="o">=</span> <span class="n">cols</span>

<div class="viewcode-block" id="DropEmpty.__call__">
<a class="viewcode-back" href="../../../reference/api/_autosummary/cyclops.query.ops.DropEmpty.html#cyclops.query.ops.DropEmpty.__call__">[docs]</a>
<span class="k">def</span> <span class="fm">__call__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">table</span><span class="p">:</span> <span class="n">TableTypes</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">Subquery</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Process the table.</span>

<span class="sd"> Parameters</span>
<span class="sd"> ----------</span>
<span class="sd"> table</span>
<span class="sd"> Table on which to perform the operation.</span>

<span class="sd"> Returns</span>
<span class="sd"> -------</span>
<span class="sd"> sqlalchemy.sql.selectable.Subquery</span>
<span class="sd"> Processed table.</span>

<span class="sd"> &quot;&quot;&quot;</span>
<span class="bp">self</span><span class="o">.</span><span class="n">cols</span> <span class="o">=</span> <span class="n">to_list</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">cols</span><span class="p">)</span>
<span class="n">table</span> <span class="o">=</span> <span class="n">_process_checks</span><span class="p">(</span><span class="n">table</span><span class="p">,</span> <span class="n">cols</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">cols</span><span class="p">)</span>

<span class="n">cond</span> <span class="o">=</span> <span class="n">and_</span><span class="p">(</span><span class="o">*</span><span class="p">[</span><span class="n">not_equals</span><span class="p">(</span><span class="n">get_column</span><span class="p">(</span><span class="n">table</span><span class="p">,</span> <span class="n">col</span><span class="p">),</span> <span class="s2">&quot;&quot;</span><span class="p">)</span> <span class="k">for</span> <span class="n">col</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">cols</span><span class="p">])</span>
<span class="k">return</span> <span class="n">select</span><span class="p">(</span><span class="n">table</span><span class="p">)</span><span class="o">.</span><span class="n">where</span><span class="p">(</span><span class="n">cond</span><span class="p">)</span><span class="o">.</span><span class="n">subquery</span><span class="p">()</span></div>
</div>



<div class="viewcode-block" id="Apply">
<a class="viewcode-back" href="../../../reference/api/_autosummary/cyclops.query.ops.Apply.html#cyclops.query.ops.Apply">[docs]</a>
<span class="k">class</span> <span class="nc">Apply</span><span class="p">(</span><span class="n">QueryOp</span><span class="p">):</span>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
cyclops.query.ops.DropEmpty
===========================

.. currentmodule:: cyclops.query.ops

.. autoclass:: DropEmpty
:members:
:show-inheritance:
:inherited-members:
:special-members: __call__, __add__, __mul__



.. rubric:: Methods

.. autosummary::
:nosignatures:







Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
ConditionSubstring
Distinct
Drop
DropEmpty
DropNulls
ExtractTimestampComponent
FillNull
Expand Down
Loading

0 comments on commit 1af67d3

Please sign in to comment.