Skip to main content

Create a PySpark Notebook

Once you've opened Jupyter, you can create a PySpark notebook.

Tip

The following example shows Jupyter Notebook, but JupyterLab is similar.

Procedure. To create a PySpark notebook:
  • From the Jupyter landing page, click New and select PySpark from the list.

    S-Create_PySpark_Notebook-new_Pyspark_menu_selection.jpg

    Caution

    Do not select a different notebook type. Only a PySpark notebook can be used to access your Analytics Environment data using Python or PySpark.

    The new notebook opens in a new browser tab:

    S-Create_PySpark_Notebook-notebook_landing_page.jpg

Once you've created a PySpark notebook, you can create a PySpark session.