On Sat, Aug 29, 2015 at 12:55 AM, Phil Elson <pelson....@gmail.com> wrote:
> Biggus also has such a function: > https://github.com/SciTools/biggus/blob/master/biggus/__init__.py#L2878 > It handles newaxis outside of that function in: > https://github.com/SciTools/biggus/blob/master/biggus/__init__.py#L537. > > Again, it only aims to deal with orthogonal array indexing, not numpy > fancy indexing. > > I'd be surprised if Dask.array didn't have a similar function too. > This all indicates to me that this would be a great thing to have as a stand alone project, or a utility shipped with numpy. It's been said that you really don't want to subclass ndarray, and should rather, wrap and delicate (or duck-type) -- maybe this is a good time to provide utilities to make it easier to do so. -Chris ----- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion