clean_list() –> ValueError: Wrong number of items passed 3, placement implies 1
clean_list() –> ValueError: Wrong number of items passed 3, placement implies 1 Question: I inherited this code from previous employee, and I tried to run this code but I’m getting an error. def replaceitem(x): if x in [‘ORION’, ‘ACTION’, ‘ICE’, ‘IRIS’, ‘FOCUS’]: return ‘CRM Application’ else: return x def clean_list(row): new_list = sorted(set(row[‘APLN_NM’]), key=lambda x: …