diff options
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 %} |