API¶

A usual pysparkling session starts with either parallelizing a list with Context.parallelize() or by reading data from a file using Context.textFile(). These two methods return RDD instances that can then be processed.