added pyspark doc and doctest