title: Converting list(numpy_array) to list(list) and comparing 2 lists
body: <pre><code>List1 = ['SSA','NTSS','BB','KI']
  List2 = [array(['(IEDSS)'],dtype=object), array(['PSG'], dtype=object), array(['KI'], dtype=object)],array(['IEDSS'], dtype=object)]
  </code></pre>
  <p>The questions are given below</p>
  <ol>
  <li><p>I want to convert List 2 as list 1 i.e. converting list(numpy array) to list(list)</p>
  <p>Output should be <code>list2 = ['IEDSS','PSG','KI', 'IEDSS']</code></p>
  </li>
  <li><p>Filter two list so that I get unique output from list 2 . For example</p>
  <pre><code> final_list = ['IEDSS','PSG'] 
  </code></pre>
  </li>
  </ol>
  <p>For question 2 asked above, I have tried using</p>
  <pre><code>def common_elements(list1, list2):
          result = []
          for element in list1:
                  if element not in list2:
                      result.append(element)
          return result
  </code></pre>
  <p>But Iam not getting the required output.</p>