📜  平面图 python 代码示例

📅  最后修改于: 2022-03-11 14:45:39.817000             🧑  作者: Mango

代码示例3
data = ["Project Gutenberg’s",
        "Alice’s Adventures in Wonderland",
        "Project Gutenberg’s",
        "Adventures in Wonderland",
        "Project Gutenberg’s"]
rdd=spark.sparkContext.parallelize(data)
for element in rdd.collect():
    print(element)