diff options
author | Matei Zaharia <matei@eecs.berkeley.edu> | 2013-08-31 22:38:32 -0700 |
---|---|---|
committer | Matei Zaharia <matei@eecs.berkeley.edu> | 2013-09-01 14:13:16 -0700 |
commit | bbaa9d7d6e2eef59ff58f97af69dbc5e1cdff82d (patch) | |
tree | 9ae402c23da3bb2f42cfb5f67648afec2125bc4a /python/examples/wordcount.py | |
parent | 12495ec63ab56e4352bc466ac37c95921f685dc3 (diff) | |
download | spark-bbaa9d7d6e2eef59ff58f97af69dbc5e1cdff82d.tar.gz spark-bbaa9d7d6e2eef59ff58f97af69dbc5e1cdff82d.tar.bz2 spark-bbaa9d7d6e2eef59ff58f97af69dbc5e1cdff82d.zip |
Add banner to PySpark and make wordcount output nicer
Diffstat (limited to 'python/examples/wordcount.py')
-rwxr-xr-x | python/examples/wordcount.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |