aboutsummaryrefslogtreecommitdiff
path: root/python/pyspark/sql/dataframe.py
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2015-03-28 23:59:27 -0700
committerReynold Xin <rxin@databricks.com>2015-03-28 23:59:27 -0700
commit5eef00d0c6c7cc5448aca7b1c2a2e289a4c43eb0 (patch)
tree853e52d983b4b2e21d8bf2161121ad785e3d05ee /python/pyspark/sql/dataframe.py
parentf75f633b21faaf911f04aeff847f25749b1ecd89 (diff)
downloadspark-5eef00d0c6c7cc5448aca7b1c2a2e289a4c43eb0.tar.gz
spark-5eef00d0c6c7cc5448aca7b1c2a2e289a4c43eb0.tar.bz2
spark-5eef00d0c6c7cc5448aca7b1c2a2e289a4c43eb0.zip
[DOC] Improvements to Python docs.
Author: Reynold Xin <rxin@databricks.com> Closes #5238 from rxin/pyspark-docs and squashes the following commits: c285951 [Reynold Xin] Reset deprecation warning. 8c1031e [Reynold Xin] inferSchema dd91b1a [Reynold Xin] [DOC] Improvements to Python docs.
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'):