aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2015-03-09 13:29:19 -0700
committerReynold Xin <rxin@databricks.com>2015-03-09 13:29:19 -0700
commit70f88148bb04161a1a4968230d8e3fc7e3f8321a (patch)
treef62f785331fa8472990d3c98fbde9446025caa15 /python
parentf7c799204358bcc38c5972a29e5994b78b25b515 (diff)
downloadspark-70f88148bb04161a1a4968230d8e3fc7e3f8321a.tar.gz
spark-70f88148bb04161a1a4968230d8e3fc7e3f8321a.tar.bz2
spark-70f88148bb04161a1a4968230d8e3fc7e3f8321a.zip
[Docs] Replace references to SchemaRDD with DataFrame
Author: Reynold Xin <rxin@databricks.com> Closes #4952 from rxin/schemardd-df-reference and squashes the following commits: b2b1dbe [Reynold Xin] [Docs] Replace references to SchemaRDD with DataFrame
Diffstat (limited to 'python')
-rw-r--r--python/pyspark/ml/pipeline.py4
-rw-r--r--python/pyspark/ml/wrapper.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/python/pyspark/ml/pipeline.py b/python/pyspark/ml/pipeline.py
index 5233c5801e..83880a5afc 100644
--- a/python/pyspark/ml/pipeline.py
+++ b/python/pyspark/ml/pipeline.py
@@ -39,7 +39,7 @@ class Estimator(Params):
Fits a model to the input dataset with optional parameters.
:param dataset: input dataset, which is an instance of
- :py:class:`pyspark.sql.SchemaRDD`
+ :py:class:`pyspark.sql.DataFrame`
:param params: an optional param map that overwrites embedded
params
:returns: fitted model
@@ -62,7 +62,7 @@ class Transformer(Params):
Transforms the input dataset with optional parameters.
:param dataset: input dataset, which is an instance of
- :py:class:`pyspark.sql.SchemaRDD`
+ :py:class:`pyspark.sql.DataFrame`
:param params: an optional param map that overwrites embedded
params
:returns: transformed dataset
diff --git a/python/pyspark/ml/wrapper.py b/python/pyspark/ml/wrapper.py
index 4bae96f678..31a66b3d2f 100644
--- a/python/pyspark/ml/wrapper.py
+++ b/python/pyspark/ml/wrapper.py
@@ -102,7 +102,7 @@ class JavaEstimator(Estimator, JavaWrapper):
"""
Fits a Java model to the input dataset.
:param dataset: input dataset, which is an instance of
- :py:class:`pyspark.sql.SchemaRDD`
+ :py:class:`pyspark.sql.DataFrame`
:param params: additional params (overwriting embedded values)
:return: fitted Java model
"""