home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 557319180

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/2461#issuecomment-557319180 https://api.github.com/repos/pydata/xarray/issues/2461 557319180 MDEyOklzc3VlQ29tbWVudDU1NzMxOTE4MA== 42118783 2019-11-21T23:29:52Z 2019-11-21T23:30:31Z NONE

@dcherian not quite because I want z and y to both have the star next to them (or bolded in your screenshot) so that they're proper coordinates. I likewise thought that the answer would be as simple as:

data=pd.DataFrame({'x': [0, 1, 2], 'y': ['a', 'b', 'c'],'z': ['a', 'b', 'c']}) xr.DataArray(data.x, coords={'y': data.y, 'x':data.z})

But again, I haven't gotten anywhere this way either and getting the error ValueError: coordinate y has dimensions ('y',), but these are not a subset of the DataArray dimensions ('dim_0',)

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