The Use Of Window In Apache Spark

How to use Window in Apache Spark in your pySpark implementation