home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 310884145

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/1465#issuecomment-310884145 https://api.github.com/repos/pydata/xarray/issues/1465 310884145 MDEyOklzc3VlQ29tbWVudDMxMDg4NDE0NQ== 1217238 2017-06-25T05:45:30Z 2017-06-25T05:45:30Z MEMBER

I agree that this is somewhat surprising, but as @fmaussion points out this slicing behavior is consistent with pandas (and Python more generally, nothing that range(5)[3:1] is empty).

slice is a Python built-in, so we can't adjust it. What we could potentially do is add a new keyboard argument to .sel() (or add a new indexing method entirely).

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