diff options
-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> |