import pyspark · if not 'sc' in globals(): · sc = pyspark.SparkContext() · sentences = sc.textFile('2600raid.txt') \ ·.glom() \ ·.map(lambda x: " ".join(x)) \ ·.
確定! 回上一頁