From ec42a1be293f083345c58f9b1d95b96e0b812742 Mon Sep 17 00:00:00 2001 From: "Sean R. Owen" Date: Mon, 2 Mar 2015 22:18:42 +0000 Subject: SPARK-4992 follow-up to inhibit undesired text wrapping in Python example --- site/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site/index.html') 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 @@
text_file = spark.textFile("hdfs://...")
 
- text_file.flatMap(lambda line: line.split())
+ text_file.flatMap(lambda line: line.split())
    .map(lambda word: (word, 1))
    .reduceByKey(lambda a, b: a+b)
-- cgit v1.2.3