You can find the code for pyspark at the following folders in our github repo:
https://github.com/cloudxlab/bigdata/tree/master/spark/examples/python
https://github.com/cloudxlab/bigdata/blob/master/spark/examples/graphx/pagerank.py.md
https://github.com/cloudxlab/bigdata/blob/master/spark/examples/mllib/mllib_random_forrest.ipynb
https://github.com/cloudxlab/bigdata/blob/master/spark/examples/mllib/movie-recommendations.py
https://github.com/cloudxlab/bigdata/blob/master/spark/examples/streaming/word_count_kafka/word_count_kafka_spark_streaming.md
https://github.com/cloudxlab/bigdata/blob/master/spark/examples/streaming/word_count/word_count.py
https://github.com/cloudxlab/bigdata/tree/master/spark/projects/real-time-analytics-dashboard