Spark with python

Download spark-for-hadoop binary and unzip to a directory; Go to the spark directory, say /usr/local/spark. sudo apt-get ... from pyspark.sql import SparkSession.
展开查看详情