Re: [Numpy-discussion] ANN: xarray v0.9 released

2017-02-01 Thread Stephan Hoyer
On Wed, Feb 1, 2017 at 12:55 AM, Marmaduke Woodman 
wrote:

> Looks very nice; is the API stable or are you waiting for a v1.0 release?
>

We are pretty close to full API stability but not quite there yet. Enough
people are using xarray in production that breaking changes are made with
serious caution (and deprecation cycles whenever feasible).

The only major backwards-incompatible change planned is an overhaul of
indexing to use labeled broadcasting and alignment:
https://github.com/pydata/xarray/issues/974

There are a few other "nice to have" features for v1.0 but that's the only
one that has the potential to change functionality in a way that we can't
cleanly deprecate.


> Is there significant overhead compared to plain ndarray?


Xarray is implemented in Python (not C), so it does have significant
overhead for every operation. Adding two arrays takes ~100 us, rather than
<1 us in NumPy. So you don't want to use it in your inner loop.

That said, the overhead is independent of the size of the array. So if you
work with large arrays, it is negligible.
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] ANN: xarray v0.9 released

2017-02-01 Thread Marmaduke Woodman

> On 1 Feb 2017, at 05:19, Stephan Hoyer  wrote:
> 
> This release includes five months worth of enhancements and bug fixes from 24 
> contributors, including some significant enhancements to the data model that 
> are not fully backwards compatible. 

Looks very nice; is the API stable or are you waiting for a v1.0 release?

Is there significant overhead compared to plain ndarray?
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion