[SciPy-User] [ANN] la 0.6, labeled array

Keith Goodman kwgoodman@gmail....
Mon Mar 19 17:07:21 CDT 2012

The sixth release of la (labeled array) adds new functions, improves
existing functions, and fixes bugs.

The main class of the la package is a labeled array, larry. A larry
consists of data and labels. The data is stored as a NumPy array and
the labels as a list of lists (one list per dimension).

New functions

- la.isaligned() returns True if two larrys are aligned along specified axis
- la.sortby() sorts a larry by a row or column specified by its label
- la.align_axis() aligns multiple larrys along (possibly) different axes
- la.zeros(), la.ones(), la.empty()
- la.lrange() similar to np.arange() but allows multi-dimensional output


- larry.lag() now accepts negative lags
- datime.time and datetime.datetime labels can now be (HDF5) archived
- la.align() can now skip the axes you do not wish to align
- Upgrade numpydoc from 0.3.1 to 0.4 to support Sphinx 1.0.1
- la.farray.ranking() and larry ranking method support `axis=None`
- Generate C code with Cython 0.15.1 instead of Cython 0.11
- Add makefile


- larry methods: merge, nan_replace, push, cumsum, cumprod, astype, __rdiv__
- larry function: cov
- Numpy array functions: geometric_mean, correlation, covMissing

Breakage from la 0.5

- optional parameter for larry creation renamed from integrity to validate

Bugs fixes

- #14 larry.lag() gives wrong output when nlag=0
- #20 Indexing chokes on lar[:,3:2]
- #21 Merging two larrys chokes when one is empty
- #22 Morphing an empty larry chokes lar.morph()
- #31 la.panel() gives wrong output
- #35 larry([1, 2]) == 'a' did not return a bool like numpy does
- #38 Indexing single element of larry with object dtype
- #39 move_func(myfunc) did not pass kwargs to myfunc when method='loop'
- #49 setup.py does not install module to load yahoo finance data
- #50 la.larry([], dtype=np.int).sum(0), and similar reductions, choke
- #51 -la.larry([True, False]) returns wrong answer


download  http://pypi.python.org/pypi/la
docs  http://berkeleyanalytics.com/la
code  https://github.com/kwgoodman/la
mailing list  http://groups.google.com/group/labeled-array
issue tracker  https://github.com/kwgoodman/la/issues

More information about the SciPy-User mailing list