I want to restrict the usage of resources for my PySpark code running on Jupyter Notebook. I tried
%%configure -f {\'driverMemory\': \'1000M\', "executor