Recommendation System, Content Based Filtering, Collaborative Filtering, Hybrid Recommendation, Naturallanguageprocessing.
convert all strings to lower case and strip names of spaces def clean_data(x): if isinstance(x, list): return [str.lower(i.replace(" ", "")) for i in x] else: #Check if director exists. If not, return empty string if isinstance(x, str): return str.lower(x.replace(" ", "")) else: return '' # Apply