Removing dtype from the end of numpy column stack
<p>I have two lists:</p>

<pre><code>secondary_data = np.column_stack((user_secondary,_id_secondary))
primary_data = np.column_stack((user_primary,_id_primary))
</code></pre>

<p>that take in two other lists. When I output the difference between the lists using the following command:</p>

<pre><code>[x for x in secondary_data if x not in primary_data] + [x for x in primary_data if x not in secondary_data]
</code></pre>

<p>or the following command:</p>

<pre><code>filter(lambda x: x not in primary_data, secondary_data) + filter(lambda x: x not in primary_data, secondary_data)
</code></pre>

<p>I get the following value:</p>

<pre><code>[array(['id5', 'value'], 
  dtype='|S32')]
</code></pre>

<p>Is there a way of making it only output the array:</p>

<pre><code>['id5', 'value']
</code></pre>

<p>Thanks!</p>