Convert pandas function into pyspark

Job ID: 33618708

Budget: ₹830 – ₹1,170 INR

I have created all functions in main.py using pandas dataframe. First I just loaded the data into pyspark dataframe and convert it back to pandas dataframe and created all the functions. This solution is ad-hoc. I do not know pyspark. So I need a helper to convert all the function into pure pyspark functions. The data can be found in kaggle - https://www.kaggle.com/code/marcuswingen/eda-of-bookings-and-ml-to-predict-cancelations