Database Reference
In-Depth Information
To use the Python shell with Spark, simply run the
./bin/pyspark
command. Like
the Scala shell, the Python
SparkContext
object should be available as the Python
variable
sc
. You should see an output similar to the one shown in this screenshot: