home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 715369738

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/4529#issuecomment-715369738 https://api.github.com/repos/pydata/xarray/issues/4529 715369738 MDEyOklzc3VlQ29tbWVudDcxNTM2OTczOA== 2448579 2020-10-23T14:15:52Z 2020-10-23T14:15:52Z MEMBER

ds2 = xr.Dataset(dict(a=(('x', 'y'), ds.a))

Thinking about this some more, maybe we should raise an error here. This syntax is a tuple of (dims, data, attrs, encoding); but DataArrays already have dims, attrs and encoding, so we'll need to deal with conflicts. I think it's OK to raise an error and ask the user to pass DataArray.data instead.

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