home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1398221681

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/pull/2930#issuecomment-1398221681 https://api.github.com/repos/pydata/xarray/issues/2930 1398221681 IC_kwDOAMm_X85TVytx 118520620 2023-01-20T10:58:22Z 2023-01-20T10:58:37Z NONE

seems like the same issue again: ```python import xarray as xr

xarr1 = xr.DataArray( np.zeros([2]), coords=dict(x=[0.0, 1.0]), # important to use 'float' here! with 'int' it is working fine dims=("x") ) print(xarr1.x.data[0]) # 0.0

xarr2 = xarr1.copy(deep=True) xarr2.x.data[0] = 45 print(xarr1.x.data[0]) # gives 45 ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  438537597
Powered by Datasette · Queries took 0.804ms · About: xarray-datasette