Python - Copy dimension of array in another dimension of the same array (from 2D array to 3D array) : <p>I have a numpy array in the following format</p>

<pre><code>(1440, 40)
</code></pre>

<p>How can I copy the first dimension in the second transforming it in the following 3D array?</p>

<pre><code>(1440, 1440, 40)
</code></pre>
