Sept. 9, 2013
3:18 a.m.
On Sun, Sep 8, 2013 at 5:26 PM, Greg <greg.ewing@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)