home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 382931094

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/2067#issuecomment-382931094 https://api.github.com/repos/pydata/xarray/issues/2067 382931094 MDEyOklzc3VlQ29tbWVudDM4MjkzMTA5NA== 1217238 2018-04-20T01:09:01Z 2018-04-20T01:09:01Z MEMBER

If I understand correctly, instead of writing xr.Dataset({'foo': ('x', data)}, {'x': range(len(data))}), you want to be able to write something like xr.Dataset({'foo': ('x', data)}, {'x': xr.AUTO_NUMBER})?

I agree that it's sometimes convenient to automatically get coordinates 0 to n-1, but using range() is also pretty convenient, so I'm not sure we really need this shortcut.

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