Taylor
  • Member for 2 years, 8 months
  • Last seen more than a month ago
Comparing a column value to list of values and if it contains the value then assigning that list value to new Column
Accepted answer
0 votes

This is the solution, after 4-5 attempt this code solves the problem def extractServiceName(x): if x in list_CI: return x else: return '' Sample_data['Extracted_New_CI'] = ...

View answer