You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
optimizing xarray operations for lazy array equality test #3558
This doesn't handle slice objects though so that makes me think we'd want to add something similar to isel too.
What is the behaviour we want? A.sel(x=A.x).equals(A) or A.sel(x=A.x) is A?
Doing the latter will mean changing _to_temp_dataset and _from_temp_dataset which suggests the constraint A._from_temp_dataset(A._to_temp_dataset()) is A? But this seems too strong to me. Do we only want to lazily satisfy an equals constraint rather than an identical constraint?
It seems like we'll want to add such short-circuits in many places (I have not checked all of these): sortby, broadcast, align, reindex (transpose does this now).
changed the title [-]optimizing xarray operations for lazy array equality[/-][+]optimizing xarray operations for lazy array equality test[/+]on Nov 22, 2019
Activity
[-]optimizing xarray operations for lazy array equality[/-][+]optimizing xarray operations for lazy array equality test[/+]