aboutsummaryrefslogtreecommitdiff
path: root/python/pyspark/sql/dataframe.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/pyspark/sql/dataframe.py')
-rw-r--r--python/pyspark/sql/dataframe.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/python/pyspark/sql/dataframe.py b/python/pyspark/sql/dataframe.py
index d51309f7ef..23c0e63e77 100644
--- a/python/pyspark/sql/dataframe.py
+++ b/python/pyspark/sql/dataframe.py
@@ -50,13 +50,6 @@ class DataFrame(object):
ageCol = people.age
- Note that the :class:`Column` type can also be manipulated
- through its various functions::
-
- # The following creates a new column that increases everybody's age by 10.
- people.age + 10
-
-
A more concrete example::
# To create DataFrame using SQLContext
@@ -77,7 +70,7 @@ class DataFrame(object):
@property
def rdd(self):
"""
- Return the content of the :class:`DataFrame` as an :class:`RDD`
+ Return the content of the :class:`DataFrame` as an :class:`pyspark.RDD`
of :class:`Row` s.
"""
if not hasattr(self, '_lazy_rdd'):