title: How to use UDF function on the pandas dataframe?
body: <p>I have a pandas data frame I need to apply the clean rule on the name column so that the name only consists of the string value, not the numerical value but I need to do that using a UDF. SO I have created a UDF and then applied it on the name column of my data frame but I am not getting the desired result.
  Sharing some screenshots of my code and the output.
  Please, anyone, guide me once.
  <a href="https://i.stack.imgur.com/0vdnQ.png" rel="nofollow noreferrer">This image is my code screenshot.</a></p>