home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 268404206

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/issues/1152#issuecomment-268404206 https://api.github.com/repos/pydata/xarray/issues/1152 268404206 MDEyOklzc3VlQ29tbWVudDI2ODQwNDIwNg== 5635139 2016-12-21T00:58:06Z 2016-12-21T00:58:06Z MEMBER

Tangentially connected this - should a DataArray always have a .variables attribute? When would / wouldn't it?

Currently, it may or may not. And its coords may or may not be DataArrays, which makes the tree of objects seemingly complicated (maybe it needs to be?). But it means we're special-casing some of the checks in https://github.com/pydata/xarray/pull/1147

python (Pdb++) a <xarray.DataArray 'xy' (x: 3)> array([-0.04729734, 0.08287289, 0.13965946]) (Pdb++) a.variables *** AttributeError: 'DataArray' object has no attribute 'variables' (Pdb++) a.variable <xarray.Variable (x: 3)> array([-0.04729734, 0.08287289, 0.13965946])

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