This is an automated email from the ASF dual-hosted git repository.
ruifengz pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/spark-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new c578724e88 [SPARK-45195][FOLLOWUP] Update python example (#478)
c578724e88 is described below
commit c578724e8818a2ebd5f49e0a9e300bb86c8000cb
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Tue Sep 19 13:53:42 2023 +0800
[SPARK-45195][FOLLOWUP] Update python example (#478)
* init
* address comments
address comments
address comments
---
index.md | 7 +++++--
site/index.html | 7 +++++--
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/index.md b/index.md
index ada6242742..188ced0d6c 100644
--- a/index.md
+++ b/index.md
@@ -88,12 +88,15 @@ navigation:
<div class="tab-content py-5 spark-install" id="nav-tabContent">
<div class="tab-pane fade show active" id="nav-python"
role="tabpanel" aria-labelledby="nav-python-tab">
<div class="mb-2 title">Run now</div>
- <div style="font-size: 16px;">Install with 'pip' or try
offical image
+ <div style="font-size: 16px;">Install with 'pip'
</div>
<div class="code">
<p>$ pip install pyspark</p>
<p>$ pyspark</p>
- <p>$ </p>
+ </div>
+ <div style="font-size: 16px;">Use the official Docker image
+ </div>
+ <div class="code">
<p>$ docker run -it --rm spark:python3
/opt/spark/bin/pyspark</p>
</div>
<div class="examples mt-5">
diff --git a/site/index.html b/site/index.html
index 3ccc7104ce..e3da4b2a5b 100644
--- a/site/index.html
+++ b/site/index.html
@@ -213,12 +213,15 @@
<div class="tab-content py-5 spark-install" id="nav-tabContent">
<div class="tab-pane fade show active" id="nav-python"
role="tabpanel" aria-labelledby="nav-python-tab">
<div class="mb-2 title">Run now</div>
- <div style="font-size: 16px;">Install with 'pip' or try
offical image
+ <div style="font-size: 16px;">Install with 'pip'
</div>
<div class="code">
<p>$ pip install pyspark</p>
<p>$ pyspark</p>
- <p>$ </p>
+ </div>
+ <div style="font-size: 16px;">Use the official Docker image
+ </div>
+ <div class="code">
<p>$ docker run -it --rm spark:python3
/opt/spark/bin/pyspark</p>
</div>
<div class="examples mt-5">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]