home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 48301141

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
48301141 MDU6SXNzdWU0ODMwMTE0MQ== 277 Creation of an empty DataArray 358378 closed 0   987654 11 2014-11-10T19:07:55Z 2020-03-06T12:38:08Z 2020-03-06T12:38:07Z CONTRIBUTOR      

I'd like to create an empty DataArray, i.e., one with only NA values. The docstring of DataArray says that data=None is allowed, if a dataset argument is provided. However, the docstring doesn't say anything about a dataset argument. 1. I think there's a bug in the docstring 2. I'd like to pass data=None and get a DataArray with the coords/dims set up properly (as defined by the coords and dims kwargs), but with a values array of NA.

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

Links from other tables

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