Re: [Numpy-discussion] Rewrite np.histogram in c?

2015-03-23 Thread Daniel da Silva
Hope this isn't too off-topic: but it would be very nice if np.histogram and np.histogram2d supported masked arrays. Is this out of scope for outside the numpy.ma package? On Mon, Mar 16, 2015 at 2:35 PM, Robert McGibbon wrote: > Hi, > > It sounds like putting together a PR makes sense then. I'l

Re: [Numpy-discussion] Short-hand array creation in `numpy.mat` style

2014-07-12 Thread Daniel da Silva
I think the idea at hand is not that it would be used everyday, but it would be there when needed. What people do everyday is with *real* data. They are using functions to load the data. Where this would come in useful would be presentations and tutorials. If leading a presentation on scientific c

[Numpy-discussion] Short-hand array creation in `numpy.mat` style

2014-07-06 Thread Daniel da Silva
The idea is that there be a short-hand for creating arrays as there is for matrices: np.mat('.2 .7 .1; .3 .5 .2; .1 .1 .9') It was suggested in GitHub issue #4817 in light that it would be beneficial to beginners and to presenters during demonstratio