Skip to content

Commit 07004c6

Browse files
author
Key Hui
committed
no message
1 parent 83216e1 commit 07004c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rdd/WordCount.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
wordCounts = words.countByValue()
1212

1313
for word, count in wordCounts.items():
14-
print("{} : {}".format(word, count))
14+
print("{} : {}".format(word.encode('utf-8'), count))
1515

0 commit comments

Comments
 (0)