pyspark.RDD.cache

RDD.cache() → pyspark.rdd.RDD[T][source]

Persist this RDD with the default storage level (MEMORY_ONLY).