How to append a tuple to a numpy array without it being preformed element-wise?
<p>If I try </p>

<p><code>x = np.append(x, (2,3))</code></p>

<p>the tuple <code>(2,3)</code> does not get appended to the end of the array, rather <code>2</code> and <code>3</code> get appended individually, even if I originally declared <code>x</code> as </p>

<p><code>x = np.array([], dtype = tuple)</code> </p>

<p>or </p>

<p><code>x = np.array([], dtype = (int,2))</code></p>

<p>What is the proper way to do this?</p>