{'display_name': 'PySpark', 'language': 'python', 'argv': ['python', '-m',
    'ipykernel', '--profile=pyspark', '-f', '{connection_file}'], 'env': {
    'PYSPARK_SUBMIT_ARGS':
    ' --master spark://localhost:7077 --conf spark.driver.memory=20000m  --conf spark.executor.memory=20000m'
    }}
How to run custom Python script on Jupyter Notebook launch (to boot Spark)?