home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 39875825

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
39875825 MDU6SXNzdWUzOTg3NTgyNQ== 208 Don't require variable dimensions in Dataset.__init__ for scalar or 1d arrays 1217238 closed 0   740776 1 2014-08-09T01:55:45Z 2014-09-03T18:17:12Z 2014-09-03T18:17:12Z MEMBER      

The coerce to variable logic should only be performed if the argument is a tuple.

For scalars, there is no ambiguity since their dimensions are empty.

For 1-d arrays, we should default to creating a new coordinate variable.

e.g., I should be able to write xray.Dataset({'x': np.arange(10), 'y': 0})

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/208/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

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