final_company_name = [clean.strip('\n') for clean in clean_company_name]
this is my code that is trying to strip from the information am getting but am having no value among it and have been getting this error, AttributeError: 'NoneType' object has no attribute 'strip'