nparts of roughly equal size. These splits can be used for parallel processing. In general,
nshould be equal to the number of jobs you want to run, which should be the number of cores you want to use.
integerdesired number of chunks
nelements, each of roughly equal length