<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 19, 2015 at 1:10 AM, Stephan Hoyer <span dir="ltr"><<a href="mailto:shoyer@gmail.com" target="_blank">shoyer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Looking at the git logs, column_stack appears to have been that way (creating a new array with concatenate) since at least NumPy 0.9.2, way back in January 2006:</div><div class="gmail_extra"><a href="https://github.com/numpy/numpy/blob/v0.9.2/numpy/lib/shape_base.py#L271" target="_blank">https://github.com/numpy/numpy/blob/v0.9.2/numpy/lib/shape_base.py#L271</a></div></div></blockquote><div><br></div><div>Then it must have been changed somewhere else between 1.6.1 amd 1.9.2rc1</div><div><br></div><div>I have my notebook and my desktop with different numpy and python versions next to each other and I don't see a typo in my command.</div><div><br></div><div>I assume python 2.7 versus python 3.4 doesn't make a difference.</div><div><br></div><div>------------------</div><div><br></div><div><span style="font-size:12.8px">>>> np.column_stack((np.ones(10), np.ones(10))).flags</span><br style="font-size:12.8px"><span style="font-size:12.8px"> C_CONTIGUOUS : False</span><br style="font-size:12.8px"><span style="font-size:12.8px"> F_CONTIGUOUS : True</span><br style="font-size:12.8px"><span style="font-size:12.8px"> OWNDATA : False</span><br style="font-size:12.8px"><span style="font-size:12.8px"> WRITEABLE : True</span><br style="font-size:12.8px"><span style="font-size:12.8px"> ALIGNED : True</span><br style="font-size:12.8px"><span style="font-size:12.8px"> UPDATEIFCOPY : False</span></div><div><br style="font-size:12.8px"><span style="font-size:12.8px">>>> np.__version__</span><br style="font-size:12.8px"><span style="font-size:12.8px">'1.6.1'</span><br style="font-size:12.8px"><span style="font-size:12.8px">>>> import sys</span><br style="font-size:12.8px"><span style="font-size:12.8px">>>> sys.version</span><br style="font-size:12.8px"><span style="font-size:12.8px">'2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)]'</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">----------------</span></div><div><span style="font-size:12.8px"><br></span></div><div><div style=""><span style="font-size:12.8px">>>> np.column_stack((np.ones(10), np.ones(10))).flags</span></div><div style=""><span style="font-size:12.8px"> C_CONTIGUOUS : True</span></div><div style=""><span style="font-size:12.8px"> F_CONTIGUOUS : False</span></div><div style=""><span style="font-size:12.8px"> OWNDATA : True</span></div><div style=""><span style="font-size:12.8px"> WRITEABLE : True</span></div><div style=""><span style="font-size:12.8px"> ALIGNED : True</span></div><div style=""><span style="font-size:12.8px"> UPDATEIFCOPY : False</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px"><div>>>> np.__version__</div><div>'1.9.2rc1'</div></span></div><div style=""><span style="font-size:12.8px">>>> import sys</span></div><div style=""><span style="font-size:12.8px">>>> sys.version</span></div><div style=""><span style="font-size:12.8px">'3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)]'</span></div></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px">---------------------------</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px">comparing all flags, owndata also has changed, but I don't think that has any effect</span></div><div><br></div><div>Josef</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span><font color="#888888"><br></font></span></div><span><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">Stephan</div></font></span></div>
<br>_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org" target="_blank">NumPy-Discussion@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br></div></div>