@outputSchema('title:chararray')
def parse_title(title):
   return re.sub(r'\s*\(\d{4}\)','', title)
Return the title without the year
dataset/ETHPy150Open MinerKasch/HadoopWithPython/pig/udfs/movies_udf.py/parse_title