Matthew Brett
2016-06-10 19:51:31 UTC
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
[ 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
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
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