Calculation of the data in screenshot 1
Hi - how we can do this in pyspark..please check screenshot for better view...
If you see the screenshot(RAW DATA)