"""Returns a local Dask client with the given parameters, see the dask documentation for details: https://docs.dask.org/en/latest/how-to/deploy-dask/single-distributed.html?highlight=localcluster#localcluster
"""Returns a local Dask client with the given parameters, see the dask documentation for details: https://docs.dask.org/en/latest/how-to/deploy-dask/single-distributed.html?highlight=localcluster#localcluster
Parameters
Parameters
----------
----------
parallel: int or None
parallel: int or None
The number of workers (processes or threads) to use; if `None`, take as many processors as we have on the system
The number of workers (processes or threads) to use; if `None`, take as many processors as we have on the system