[Numpy-discussion] Proposed new function for joining arrays: np.interleave
ralf.gommers at gmail.com
Mon Apr 21 16:25:48 EDT 2014
On Mon, Apr 7, 2014 at 5:12 PM, Björn Dahlgren <bjodah at gmail.com> wrote:
> Interleaving arrays is something I need to do every now and then, and by
> the looks of stackoverflow so do others:
> I think the code needed for the general n dimensional case with m number
> of arrays
> is non-trivial enough for it to be useful to provide such a function in
> numpy, so I took the liberty to
> make a Pull Request <https://github.com/numpy/numpy/pull/4596> with my
> implementation. This would be my first contribution to NumPy so I apologize
> if something is not adhering to your practices.
It looks pretty good to me for a first contribution. And I'm fine with
adding this function, should see a reasonable amount of usage.
> Jaime has already pointed out that I should email this list (I hope I
> managed to email the list in
> the right way - never used a mailing list before) for you to notice the
> pull request. He also pointed
> out some improvements of my proposed implementation (not forcing
> consistent dtype), but before
> I go on and make changes I might need to ask you guys if this is really
> something you are interested in including?
> Best regards,
> /Björn Dahlgren
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion