Alternatively, if your application is submitted from a machine far from the worker machines (e.g. locally on your laptop), it is common to use cluster mode to minimize network latency between the drivers and the executors. Currently, the standalone mode does not support cluster mode for Python applications.
submitting job with cluster mode not available yet in pyspark .
https://spark.apache.org/docs/latest/submitting-applications.html