shell.py¶
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
andsqlCtx
for compatibility
');}.md-tag.md-tag--scala{--md-tag-icon:url('data:image/svg+xml;charset=utf-8,');}
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