On Mon, Oct 5, 2009 at 7:20 PM, Robert Kern wrote:
> On Mon, Oct 5, 2009 at 18:15, Elaine Angelino
> wrote:
>
>
> Then I would suggest making tabarrays subclass from ndarray.
>
Ok, done.We did it using the from*() function design you suggested. In
the future, if there ar
Do the minimum number of .view()s that you can get away with.
>
>
I guess our bottom line is that we're still not 100% clear as to the
recommendation of the NumPy community regarding whether we should use
recarray or ndarray. It seems like recarray has some advantages (e.g. the
nice inference func
On Mon, Oct 5, 2009 at 6:36 PM, Robert Kern wrote:
> >
> > the main reason we went with the recarray over the ndarray is because the
> > recarray has a couple of useful construction functions (e.g.
> > np.rec.fromrecords and np.rec.fromarrays). not only are these functions
> > convenient to us
ad of accessing fields
> as attributes ? It looks like you're always accessing fields as items...
> Cheers
> P.
>
>
>
> On Oct 5, 2009, at 5:22 PM, Elaine Angelino wrote:
>
> > Hi there,
> >
> > We are writing to announce the release of "Tabular"
Hi there,
We are writing to announce the release of "Tabular", a package of Python
modules for working with tabular data.
Tabular is a package of Python modules for working with tabular data. Its
main object is the tabarray class, a data structure for holding and
manipulating tabular data. By put
uld i be using this too? (
http://svn.scipy.org/svn/numpy/trunk/doc/)
thanks again
elaine
On Mon, Sep 21, 2009 at 1:23 PM, Robert Kern wrote:
> On Mon, Sep 21, 2009 at 12:20, Elaine Angelino
> wrote:
> > thanks robert!
> >
> > yes i saw this (http://svn.scipy.org/svn/nump
to emulate what numpy does as closely
as possible.
thanks again,
elaine
On Mon, Sep 21, 2009 at 1:08 PM, Robert Kern wrote:
> On Mon, Sep 21, 2009 at 12:03, Elaine Angelino
> wrote:
> > Hi there --
> >
> > I have been working on a small Python package whose centra
Hi there --
I have been working on a small Python package whose central data object
comes from Numpy (the record array object).
I would like to produce documentation that looks like Numpy's, and am
planning to follow Numpy's docstring standard.
Numpy uses Sphinx to generate documentation (e.g. f
Hi -- We are subclassing from np.rec.recarray and are confused about how
some methods of np.rec.recarray relate to (differ from) analogous methods of
its parent, np.ndarray. Below are specific questions about the __eq__,
__getitem__ and view methods, we'd appreciate answers to our specific
questio
Hi there --
Is there a fast way to make a numpy ndarray from column data?
For example, suppose I want to make an ndarray with 2 rows and 3 columns of
different data types based on the following column data:
C0 = [1,2]
C1 = ['a','b']
C2 = [3.3,4.4]
I could create an empty ndarray and fill the co
hi there --
for a numpy.recarray, is it possible to rename the fields in the dtype?
thanks a bunch
elaine
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
11 matches
Mail list logo