Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Jun 5, 2024
1 parent 85aad30 commit c640233
Show file tree
Hide file tree
Showing 12 changed files with 284 additions and 209 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
09c6edb9
9c9b93e0
Binary file modified html/images/logo-sparklyr.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 html/images/logo-tensorflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
362 changes: 226 additions & 136 deletions html/keras.html

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions html/sparklyr.html
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,9 @@ <h2 class="anchored" data-anchor-id="dplyr-verbs">dplyr verbs</h2>
<p>Supported in Databricks Connect v2</p>
<p>Translates into Spark SQL statements</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb12"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb12-1"><a href="#cb12-1" aria-hidden="true" tabindex="-1"></a><span class="fu">copy_to</span>(sc, mtcars) <span class="sc">%&gt;%</span></span>
<span id="cb12-2"><a href="#cb12-2" aria-hidden="true" tabindex="-1"></a> <span class="fu">mutate</span>(<span class="at">trm =</span> <span class="fu">ifelse</span>(am <span class="sc">==</span> <span class="dv">0</span>, <span class="st">"auto"</span>, <span class="st">"man"</span>)) <span class="sc">%&gt;%</span></span>
<span id="cb12-3"><a href="#cb12-3" aria-hidden="true" tabindex="-1"></a> <span class="fu">group_by</span>(trm) <span class="sc">%&gt;%</span></span>
<div class="sourceCode cell-code" id="cb12"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb12-1"><a href="#cb12-1" aria-hidden="true" tabindex="-1"></a><span class="fu">copy_to</span>(sc, mtcars) <span class="sc">|&gt;</span></span>
<span id="cb12-2"><a href="#cb12-2" aria-hidden="true" tabindex="-1"></a> <span class="fu">mutate</span>(<span class="at">trm =</span> <span class="fu">ifelse</span>(am <span class="sc">==</span> <span class="dv">0</span>, <span class="st">"auto"</span>, <span class="st">"man"</span>)) <span class="sc">|&gt;</span></span>
<span id="cb12-3"><a href="#cb12-3" aria-hidden="true" tabindex="-1"></a> <span class="fu">group_by</span>(trm) <span class="sc">|&gt;</span></span>
<span id="cb12-4"><a href="#cb12-4" aria-hidden="true" tabindex="-1"></a> <span class="fu">summarise_all</span>(mean)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
</section>
Expand Down Expand Up @@ -474,10 +474,10 @@ <h1>Visualize</h1>
<h2 class="anchored" data-anchor-id="dplyr-ggplot2">dplyr + ggplot2</h2>
<p>Supported in Databricks Connect v2</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb13"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb13-1"><a href="#cb13-1" aria-hidden="true" tabindex="-1"></a><span class="fu">copy_to</span>(sc, mtcars) <span class="sc">%&gt;%</span></span>
<span id="cb13-2"><a href="#cb13-2" aria-hidden="true" tabindex="-1"></a> <span class="fu">group_by</span>(cyl) <span class="sc">%&gt;%</span></span>
<span id="cb13-3"><a href="#cb13-3" aria-hidden="true" tabindex="-1"></a> <span class="fu">summarise</span>(<span class="at">mpg_m =</span> <span class="fu">mean</span>(mpg)) <span class="sc">%&gt;%</span> <span class="co"># Summarize in Spark</span></span>
<span id="cb13-4"><a href="#cb13-4" aria-hidden="true" tabindex="-1"></a> <span class="fu">collect</span>() <span class="sc">%&gt;%</span> <span class="co"># Collect results in R</span></span>
<div class="sourceCode cell-code" id="cb13"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb13-1"><a href="#cb13-1" aria-hidden="true" tabindex="-1"></a><span class="fu">copy_to</span>(sc, mtcars) <span class="sc">|&gt;</span></span>
<span id="cb13-2"><a href="#cb13-2" aria-hidden="true" tabindex="-1"></a> <span class="fu">group_by</span>(cyl) <span class="sc">|&gt;</span></span>
<span id="cb13-3"><a href="#cb13-3" aria-hidden="true" tabindex="-1"></a> <span class="fu">summarise</span>(<span class="at">mpg_m =</span> <span class="fu">mean</span>(mpg)) <span class="sc">|&gt;</span> <span class="co"># Summarize in Spark</span></span>
<span id="cb13-4"><a href="#cb13-4" aria-hidden="true" tabindex="-1"></a> <span class="fu">collect</span>() <span class="sc">|&gt;</span> <span class="co"># Collect results in R</span></span>
<span id="cb13-5"><a href="#cb13-5" aria-hidden="true" tabindex="-1"></a> <span class="fu">ggplot</span>() <span class="sc">+</span></span>
<span id="cb13-6"><a href="#cb13-6" aria-hidden="true" tabindex="-1"></a> <span class="fu">geom_col</span>(<span class="fu">aes</span>(cyl, mpg_m)) <span class="co"># Create plot</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
Expand Down Expand Up @@ -607,7 +607,7 @@ <h1>Distributed R</h1>
<span id="cb14-5"><a href="#cb14-5" aria-hidden="true" tabindex="-1"></a> )</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
<div class="cell">
<div class="sourceCode cell-code" id="cb15"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb15-1"><a href="#cb15-1" aria-hidden="true" tabindex="-1"></a><span class="fu">copy_to</span>(sc, mtcars) <span class="sc">%&gt;%</span></span>
<div class="sourceCode cell-code" id="cb15"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb15-1"><a href="#cb15-1" aria-hidden="true" tabindex="-1"></a><span class="fu">copy_to</span>(sc, mtcars) <span class="sc">|&gt;</span></span>
<span id="cb15-2"><a href="#cb15-2" aria-hidden="true" tabindex="-1"></a> <span class="fu">spark_apply</span>(</span>
<span id="cb15-3"><a href="#cb15-3" aria-hidden="true" tabindex="-1"></a> nrow, <span class="co"># R only function</span></span>
<span id="cb15-4"><a href="#cb15-4" aria-hidden="true" tabindex="-1"></a> <span class="at">group_by =</span> <span class="st">"am"</span>, </span>
Expand All @@ -617,7 +617,7 @@ <h1>Distributed R</h1>
<hr>
<p>CC BY SA Posit Software, PBC • <a href="mailto:[email protected]">[email protected]</a><a href="https://posit.co">posit.co</a></p>
<p>Learn more at <a href="https://spark.posit.co/">spark.posit.co</a> and <a href="https://therinspark.com/">therinspark.com</a>.</p>
<p>Updated: 2024-05.</p>
<p>Updated: 2024-06.</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb16"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb16-1"><a href="#cb16-1" aria-hidden="true" tabindex="-1"></a><span class="fu">packageVersion</span>(<span class="st">"sparklyr"</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
Expand Down
Loading

0 comments on commit c640233

Please sign in to comment.