pyspark.RDD.foreachPartition ============================ .. currentmodule:: pyspark .. automethod:: RDD.foreachPartition