aboutsummaryrefslogtreecommitdiff
path: root/docs/mllib-guide.md
diff options
context:
space:
mode:
authorMatei Zaharia <matei@databricks.com>2014-04-05 20:52:05 -0700
committerMatei Zaharia <matei@databricks.com>2014-04-05 20:52:05 -0700
commit0b855167818b9afd2d2aa9f617b9861d77b2425d (patch)
treec0f4258b8b6ec6ffcdc805a069e77bbfe1cab84f /docs/mllib-guide.md
parent890d63bd4e16296ac70e151b3754727ea42b583c (diff)
downloadspark-0b855167818b9afd2d2aa9f617b9861d77b2425d.tar.gz
spark-0b855167818b9afd2d2aa9f617b9861d77b2425d.tar.bz2
spark-0b855167818b9afd2d2aa9f617b9861d77b2425d.zip
SPARK-1421. Make MLlib work on Python 2.6
The reason it wasn't working was passing a bytearray to stream.write(), which is not supported in Python 2.6 but is in 2.7. (This array came from NumPy when we converted data to send it over to Java). Now we just convert those bytearrays to strings of bytes, which preserves nonprintable characters as well. Author: Matei Zaharia <matei@databricks.com> Closes #335 from mateiz/mllib-python-2.6 and squashes the following commits: f26c59f [Matei Zaharia] Update docs to no longer say we need Python 2.7 a84d6af [Matei Zaharia] SPARK-1421. Make MLlib work on Python 2.6
Diffstat (limited to 'docs/mllib-guide.md')
-rw-r--r--docs/mllib-guide.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/mllib-guide.md b/docs/mllib-guide.md
index 203d235bf9..a5e0cc5080 100644
--- a/docs/mllib-guide.md
+++ b/docs/mllib-guide.md
@@ -38,6 +38,5 @@ depends on native Fortran routines. You may need to install the
if it is not already present on your nodes. MLlib will throw a linking error if it cannot
detect these libraries automatically.
-To use MLlib in Python, you will need [NumPy](http://www.numpy.org) version 1.7 or newer
-and Python 2.7.
+To use MLlib in Python, you will need [NumPy](http://www.numpy.org) version 1.7 or newer.