home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 96103270

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
96103270 MDU6SXNzdWU5NjEwMzI3MA== 482 DataArray constructor allow iterables 5356122 closed 0     1 2015-07-20T16:28:40Z 2019-03-03T15:23:58Z 2019-03-03T15:23:58Z MEMBER      

The DataArray currently requires a sequence for the coords and dims. This could be generalized to allow passing iterables. Currently this raises a ValueError:

b = xray.DataArray(np.random.randn(3, 4), dims=(x for x in ('a', 'b')))

If iterables were allowed it would work. This comes up more often in Python 3. Some conversation in #466

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/482/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 3 rows from issues_id in issues_labels
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 0.531ms · About: xarray-datasette