home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 460105724

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/2733#issuecomment-460105724 https://api.github.com/repos/pydata/xarray/issues/2733 460105724 MDEyOklzc3VlQ29tbWVudDQ2MDEwNTcyNA== 1217238 2019-02-04T00:59:33Z 2019-02-04T00:59:33Z MEMBER

Hi @ahmedshaaban1 -- the short answer is you mixed up the order of the constructor arguments. This should be xr.IndexVariable(latP.dims,latP.data,latP.attrs)

Note that normally you shouldn't need to create IndexVariable objects directly -- they are public API, but rather low level. Usually I recommend sticking to Dataset/DataArray objects: http://xarray.pydata.org/en/stable/internals.html#variable-objects

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