In [ ]:
sc.parallelize(range(10)).map(lambda x: x*x).collect()

In [ ]:
import pyshp

In [ ]: