diff options
author | Sean R. Owen <srowen@apache.org> | 2015-03-02 22:18:42 +0000 |
---|---|---|
committer | Sean R. Owen <srowen@apache.org> | 2015-03-02 22:18:42 +0000 |
commit | ec42a1be293f083345c58f9b1d95b96e0b812742 (patch) | |
tree | 9b3db04e5b5d23185c9da07f895bbc611cc2ba65 | |
parent | fb97e0ec8a74c26b98a3627668443b1263f9ee14 (diff) | |
download | spark-website-ec42a1be293f083345c58f9b1d95b96e0b812742.tar.gz spark-website-ec42a1be293f083345c58f9b1d95b96e0b812742.tar.bz2 spark-website-ec42a1be293f083345c58f9b1d95b96e0b812742.zip |
SPARK-4992 follow-up to inhibit undesired text wrapping in Python example
-rw-r--r-- | site/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/index.html b/site/index.html index c3360efd5..5bee1841b 100644 --- a/site/index.html +++ b/site/index.html @@ -214,7 +214,7 @@ <div class="code"> text_file = spark.textFile(<span class="string">"hdfs://..."</span>)<br /> <br /> - text_file.<span class="sparkop">flatMap</span>(<span class="closure">lambda line: line.split()</span>)<br /> + text_file.<span class="sparkop">flatMap</span>(<span class="closure">lambda line: line.split()</span>)<br /> .<span class="sparkop">map</span>(<span class="closure">lambda word: (word, 1)</span>)<br /> .<span class="sparkop">reduceByKey</span>(<span class="closure">lambda a, b: a+b</span>) </div> |