From bbaa9d7d6e2eef59ff58f97af69dbc5e1cdff82d Mon Sep 17 00:00:00 2001 From: Matei Zaharia Date: Sat, 31 Aug 2013 22:38:32 -0700 Subject: Add banner to PySpark and make wordcount output nicer --- python/examples/wordcount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/examples') diff --git a/python/examples/wordcount.py b/python/examples/wordcount.py index a6de22766a..b9139b9d76 100755 --- a/python/examples/wordcount.py +++ b/python/examples/wordcount.py @@ -32,4 +32,4 @@ if __name__ == "__main__": .reduceByKey(add) output = counts.collect() for (word, count) in output: - print "%s : %i" % (word, count) + print "%s: %i" % (word, count) -- cgit v1.2.3