-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Is this intended? It's creating some problems downstream with pandas, but maybe that's a pandas issue?
Note the WRITEABLE : False here:
In [126]: ds=xray.Dataset({'a':xray.DataArray(pd.np.random.rand(5,3))}, coords={'b': xray.DataArray(pd.np.random.rand(5))})
In [127]: ds.to_array('d').b.values.flags
Out[127]:
C_CONTIGUOUS : True
F_CONTIGUOUS : True
OWNDATA : False
WRITEABLE : False
ALIGNED : True
UPDATEIFCOPY : FalseWithout the to_array, it's fine:
In [128]: ds.b.values.flags
Out[128]:
C_CONTIGUOUS : True
F_CONTIGUOUS : True
OWNDATA : True
WRITEABLE : True
ALIGNED : True
UPDATEIFCOPY : FalseMetadata
Metadata
Assignees
Labels
No labels