home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 249908900

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/pull/1017#issuecomment-249908900 https://api.github.com/repos/pydata/xarray/issues/1017 249908900 MDEyOklzc3VlQ29tbWVudDI0OTkwODkwMA== 1217238 2016-09-27T15:54:15Z 2016-09-27T15:54:15Z MEMBER

How does one select / slice a dataarray with no index? Does isel work but not sel?

isel will definitely work unchanged.

For .sel, there are two choices: - Raise a TypeError about how an index is required (this would be the strictest option) - Just pass on the key arguments for dimension without an index unchanged on to .isel (this is the approach I currently prefer, because it's a bit more convenient and also preserves backwards compatibility)

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