[Solved] How to perform self join with same row of previous group(month) to bring in additional columns with different expressions in Pyspark

[ad_1] How to perform self join with same row of previous group(month) to bring in additional columns with different expressions in Pyspark [ad_2] solved How to perform self join with same row of previous group(month) to bring in additional columns with different expressions in Pyspark