Here, we will demonstrate the use of UDF via a small example.
Use Case: We need to change the value of an existing column of DF/DS to add some prefix or suffix to the existing value in a new column.
I’m actually not sure what benefit you gain from not registering the UDF, but there probably is one.