diff options
author | Dmitriy Sokolov <silentsokolov@gmail.com> | 2016-08-30 11:23:37 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-08-30 11:23:37 +0100 |
commit | d4eee9932edf1a489d7fe9120a0f003150834df6 (patch) | |
tree | 2b05ac9cfaf1e76ca0b44e579d54ec8b3b7494f2 /docs/quick-start.md | |
parent | befab9c1c6b59ad90f63a7d10e12b186be897f15 (diff) | |
download | spark-d4eee9932edf1a489d7fe9120a0f003150834df6.tar.gz spark-d4eee9932edf1a489d7fe9120a0f003150834df6.tar.bz2 spark-d4eee9932edf1a489d7fe9120a0f003150834df6.zip |
[MINOR][DOCS] Fix minor typos in python example code
## What changes were proposed in this pull request?
Fix minor typos python example code in streaming programming guide
## How was this patch tested?
N/A
Author: Dmitriy Sokolov <silentsokolov@gmail.com>
Closes #14805 from silentsokolov/fix-typos.
Diffstat (limited to 'docs/quick-start.md')
-rw-r--r-- | docs/quick-start.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/quick-start.md b/docs/quick-start.md index a29e28faf2..2eab8d19aa 100644 --- a/docs/quick-start.md +++ b/docs/quick-start.md @@ -74,10 +74,10 @@ Spark's primary abstraction is a distributed collection of items called a Resili RDDs have _[actions](programming-guide.html#actions)_, which return values, and _[transformations](programming-guide.html#transformations)_, which return pointers to new RDDs. Let's start with a few actions: {% highlight python %} ->>> textFile.count() # Number of items in this RDD +>>> textFile.count() # Number of items in this RDD 126 ->>> textFile.first() # First item in this RDD +>>> textFile.first() # First item in this RDD u'# Apache Spark' {% endhighlight %} @@ -90,7 +90,7 @@ Now let's use a transformation. We will use the [`filter`](programming-guide.htm We can chain together transformations and actions: {% highlight python %} ->>> textFile.filter(lambda line: "Spark" in line).count() # How many lines contain "Spark"? +>>> textFile.filter(lambda line: "Spark" in line).count() # How many lines contain "Spark"? 15 {% endhighlight %} |