Discussion:
[Numpy-discussion] Datarray 0.1.0 release
Matthew Brett
2016-06-10 19:51:31 UTC
Permalink
Hi,

I just released a new version of the Datarray package:

https://pypi.python.org/pypi/datarray/0.1.0
https://github.com/BIDS/datarray

It's a very lightweight implementation of arrays with labeled axes and
narr = DataArray(np.zeros((1,2,3)), axes=('a','b','c'))
narr.axes.a
Axis(name='a', index=0, labels=None)
narr.axes.a[0]
DataArray(array([[ 0., 0., 0.],
[ 0., 0., 0.]]),
('b', 'c'))

It's still experimental, but we'd love to hear any feedback, in any
form. Please feel free to make github issues for specific bugs /
suggestions:

https://github.com/BIDS/datarray/issues

If you like the general idea, and you don't mind the pandas
dependency, `xray` is a much better choice for production code right
now, and will do the same stuff and more:

https://pypi.python.org/pypi/xray/0.4.1

Cheers,

Matthew
Stephan Hoyer
2016-06-10 20:19:52 UTC
Permalink
Post by Matthew Brett
If you like the general idea, and you don't mind the pandas
dependency, `xray` is a much better choice for production code right
https://pypi.python.org/pypi/xray/0.4.1
Hi Matthew,

Congrats on the release!

I just wanted to point out that "xray" is now known as "xarray":
https://pypi.python.org/pypi/xarray/

Cheers,
Stephan
Matthew Brett
2016-06-10 20:20:53 UTC
Permalink
Post by Stephan Hoyer
Post by Matthew Brett
If you like the general idea, and you don't mind the pandas
dependency, `xray` is a much better choice for production code right
https://pypi.python.org/pypi/xray/0.4.1
Hi Matthew,
Congrats on the release!
https://pypi.python.org/pypi/xarray/
Ah - thank you - I'll update the docs...

Cheers,

Matthew

Loading...