SparkContext.
emptyRDD
Create an RDD that has no partitions or elements.
RDD
New in version 1.5.0.
An empty RDD
Examples
>>> sc.emptyRDD() EmptyRDD... >>> sc.emptyRDD().count() 0
previous
pyspark.SparkContext.dump_profiles
next
pyspark.SparkContext.getCheckpointDir