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 ticks, that allows you to do stuff like:
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
On Fri, Jun 10, 2016 at 12:51 PM, Matthew Brett <matthew.brett@gmail.com> wrote:
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:
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
On Fri, Jun 10, 2016 at 1:19 PM, Stephan Hoyer <shoyer@gmail.com> wrote:
On Fri, Jun 10, 2016 at 12:51 PM, Matthew Brett <matthew.brett@gmail.com> wrote:
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:
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/
Ah - thank you - I'll update the docs... Cheers, Matthew
participants (2)
-
Matthew Brett -
Stephan Hoyer