[SciPy-User] [ANN] New open source project for labeled arrays

Keith Goodman kwgoodman at gmail.com
Wed Jan 27 21:10:43 EST 2010


I recently opened sourced one of my packages. It is a labeled array
that I call larry.

A two-dimensional larry, for example, contains a 2d NumPy array with
labels on each row and column. A larry can have any dimension.

Alignment by label is automatic when you add (or subtract, multiply,
divide) two larrys.

larry has built-in methods such as movingsum, ranking, merge, shuffle,
zscore, demean, lag as well as typical NumPy methods like sum, max,
std, sign, clip. NaNs are treated as missing data.

You can archive larrys in HDF5 format using save and load or using a
dictionary-like interface.

I'm working towards a 0.1 release. In the meantime, comments,
suggestions, critiques are all appreciated.

To use larry you need Python and NumPy 1.4 or newer. To save and load
larrys in HDF5 format, you need h5py with HDF5 1.8.

larry currently contains no extensions, just Python code, so there is
nothing to compile. Just save the la package and make sure Python can
find it.

docs  http://larry.sourceforge.net
code  https://launchpad.net/larry



More information about the SciPy-User mailing list