An NEP on utility functions for structured array definitely sounds appealing to me.
On Thu, Nov 30, 2017 at 2:00 PM, Stefan van der Walt <stef...@berkeley.edu> wrote: > On Thu, Nov 30, 2017, at 12:02, Marten van Kerkwijk wrote: >> I think Josef specifically meant `recarrays`, which give access to >> elements of a structured array via attribute access. I'd tend to agree >> with him that those turned out not to be such a great idea. But (I >> think) nobody is arguing we should get rid of arrays with structured >> dtypes - I use them regularly myself too. > > Ah, okay, that makes sense! > > Which reminds me: while these are quite useful, they're not always > particularly pleasant to use. A good first improvement would be to > allow columnar printing, and a few utility functions to give you some of > the basic functionality of pandas (calculating descriptive statistics > like mean, dropping NaN rows, some equivalent of groupby). All these > are only a few lines of Python, but can be annoying to figure out. If > this sounds appealing, I'd be willing to put together a small NEP. > > Stéfan > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@python.org > https://mail.python.org/mailman/listinfo/numpy-discussion _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion