shell.py¶
shell.py script is the interactive shell of PySpark.
shell.py defines the following variables:
scbeing pyspark.SparkContextsparkbeing pyspark.sql.session.SparkSessionsqlbeing SparkSession.sqlsqlContextandsqlCtxfor compatibility
shell.py script is the interactive shell of PySpark.
shell.py defines the following variables:
sc being pyspark.SparkContextspark being pyspark.sql.session.SparkSessionsql being SparkSession.sqlsqlContext and sqlCtx for compatibility