pyspark.SparkContext.emptyRDD# SparkContext.emptyRDD()[source]# Create an RDD that has no partitions or elements. Added in version 1.5.0. Returns: RDDAn empty RDD Examples >>> sc.emptyRDD() EmptyRDD... >>> sc.emptyRDD().count() 0