<p dir="auto">From the docs:</p>
<pre class="notranslate">Returns
-------
out : ndarray
    Contiguous array of <b>same shape</b> and content as `a`, with type `dtype`
    if specified.
</pre>
<p dir="auto">But</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; a = np.array(1)
&gt;&gt;&gt; a.shape
()
&gt;&gt;&gt; np.ascontiguousarray(a).shape
(1,)"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; a = np.array(1)
&gt;&gt;&gt; a.shape
()
&gt;&gt;&gt; np.ascontiguousarray(a).shape
(1,)
</code></pre></div>
<p dir="auto">Since its implementation is</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="return array(a, dtype, copy=False, order='C', ndmin=1)"><pre class="notranslate"><span class="pl-k">return</span> <span class="pl-en">array</span>(<span class="pl-s1">a</span>, <span class="pl-s1">dtype</span>, <span class="pl-s1">copy</span><span class="pl-c1">=</span><span class="pl-c1">False</span>, <span class="pl-s1">order</span><span class="pl-c1">=</span><span class="pl-s">'C'</span>, <span class="pl-s1">ndmin</span><span class="pl-c1">=</span><span class="pl-c1">1</span>)</pre></div>
<h3 dir="auto">Proposed new feature or change:</h3>
<p dir="auto">Note - Developer Only change<br>
I have been working with Gitpod maintenance for a while now and It often requires me to test the builds with different dependencies types and configurations.<br>
For safe measure I create myself a new Unix host and do my testing there.</p>
<p dir="auto">It always requires me to do the setup steps documented here over and over again.<br>
<a href="https://docs.google.com/document/d/17KTUal0EfhhRsZdg5snPyTPu5ifC4b3aoQDk24fvFqA/edit" rel="nofollow">Link for the Setup Steps</a></p>
<p dir="auto">It would be great if the setup process could be automated with all the software dependencies that will be required.</p>
<p dir="auto">I wanted suggestions from the community if this is a good idea  (To have an automated shell script) to have this?</p>
<p dir="auto"><strong>Secondly</strong></p>
<p dir="auto">To have a shell script for numpy <code class="notranslate">redevelopment only</code> , having the steps of</p>
<ol dir="auto">
<li><code class="notranslate">git clean -xdf</code></li>
<li><code class="notranslate">python setup.py build_ext --inplace</code></li>
<li><code class="notranslate">pip install -e .</code><br>
[OPTIONAL BUILDING DOCS]</li>
<li><code class="notranslate">cd doc</code></li>
<li><code class="notranslate">make html</code></li>
</ol>
<p dir="auto">It would be great to have the community opinion on this, If this is worth pursuing and having.</p>