On Sun, Sep 8, 2013 at 5:26 PM, Greg <greg.ewing at canterbury.ac.nz> wrote: > On 9/09/2013 5:52 a.m., Guido van Rossum wrote: > >> Well, to me zip(*x) is unnatural, and it's inefficient when the arrays >> are long. >> > > Would it be worth having a transpose() function in the stdlib > somewhere, that returns a view instead of copying the data? I'd be hesitant to add just that one function, given that there's hardly any support for multi-dimensional arrays in the stdlib. (NumPy of course has a transpose(), and that's where it arguably belongs.) -- --Guido van Rossum (python.org/~guido) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20130908/022d1b16/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4