My function in func.pydef lower_events(df):
return df.withColumn("event",f.lower(f.col("event")))My main notebook import pyspark.sql.functions as f
from pyspark.sql.functions import udf, col, lower
import sys
sys.path.append("..")
from folder.func...