Solution to the exercise given under ' Data Analysis - Spark SQL and Data Frames using Python'

Hi,

Can you provide the solution for the exercise:
‘Get revenue generated by each product category on daily basis – get category name, date and revenue generated by each category (round off revenue to 2 decimals)’

Thanks
Asha