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
The DataArray currently requires a sequence for the coords and dims. This could be generalized to allow passing iterables. Currently this raises a ValueError:
b = xray.DataArray(np.random.randn(3, 4), dims=(x for x in ('a', 'b')))
If iterables were allowed it would work. This comes up more often in Python 3. Some conversation in #466
The text was updated successfully, but these errors were encountered:
The DataArray currently requires a sequence for the
coords
anddims
. This could be generalized to allow passing iterables. Currently this raises a ValueError:If iterables were allowed it would work. This comes up more often in Python 3. Some conversation in #466
The text was updated successfully, but these errors were encountered: