Skip to content

0.0.6

@fperez fperez tagged this 11 Nov 01:08
Major change in this release is an API set of renames.  Now the
DataArray constructor reads::

    >>> narr = DataArray(np.zeros((1,2,3)), axes=('a', 'b', 'c'))

and the axis one:

    >>> a1 = Axis('time', 0, None, labels=[str(i) for i in xrange(10)])

Basically we renamed 'labels' to 'axes' in the array constructor, and
(label, ticks) to (name, labels) in the Axis one.

We added our own top-level test() method that correctly exercises
doctests.  At this point, the full test suite passes with all
doctests (run "import datarray;datarray.test()" to execute).

The documentation now is also exercised as a set of doctests (and all
pass); run::

  make doctest

in the doc/ directory to execute it.
Assets 2
Loading