diff options
author | Matei Zaharia <matei@databricks.com> | 2014-01-12 00:15:34 -0800 |
---|---|---|
committer | Matei Zaharia <matei@databricks.com> | 2014-01-12 00:15:34 -0800 |
commit | 224f1a754a636de6b31d636524826d8d59e90379 (patch) | |
tree | 559ed726ed2f8ce96f18367b10713f079f07c10d /docs | |
parent | 5741078c46828f124bb8286919398a6c346b109c (diff) | |
download | spark-224f1a754a636de6b31d636524826d8d59e90379.tar.gz spark-224f1a754a636de6b31d636524826d8d59e90379.tar.bz2 spark-224f1a754a636de6b31d636524826d8d59e90379.zip |
Update Python required version to 2.7, and mention MLlib support
Diffstat (limited to 'docs')
-rw-r--r-- | docs/python-programming-guide.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/python-programming-guide.md b/docs/python-programming-guide.md index c4236f8312..b07899c2e1 100644 --- a/docs/python-programming-guide.md +++ b/docs/python-programming-guide.md @@ -52,7 +52,7 @@ In addition, PySpark fully supports interactive use---simply run `./bin/pyspark` # Installing and Configuring PySpark -PySpark requires Python 2.6 or higher. +PySpark requires Python 2.7 or higher. PySpark applications are executed using a standard CPython interpreter in order to support Python modules that use C extensions. We have not tested PySpark with Python 3 or with alternative Python interpreters, such as [PyPy](http://pypy.org/) or [Jython](http://www.jython.org/). @@ -149,6 +149,12 @@ sc = SparkContext(conf = conf) [API documentation](api/pyspark/index.html) for PySpark is available as Epydoc. Many of the methods also contain [doctests](http://docs.python.org/2/library/doctest.html) that provide additional usage examples. +# Libraries + +[MLlib](mllib-guide.html) is also available in PySpark. To use it, you'll need +[NumPy](http://www.numpy.org) version 1.7 or newer. The [MLlib guide](mllib-guide.html) contains +some example applications. + # Where to Go from Here PySpark also includes several sample programs in the [`python/examples` folder](https://github.com/apache/incubator-spark/tree/master/python/examples). |