home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 279777811

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/1267#issuecomment-279777811 https://api.github.com/repos/pydata/xarray/issues/1267 279777811 MDEyOklzc3VlQ29tbWVudDI3OTc3NzgxMQ== 1217238 2017-02-14T17:35:05Z 2017-02-14T17:35:05Z MEMBER

I agree, this is strange. my_dataarray['Type'] is really just a convenient shortcut for my_dataarray.coords['Type'], but DataArray is meant to be primarily array-like so in should look at the values (we have Dataset for the dict-like container).

I would be in favor of changing this to look at values like in on NumPy arrays in the next major release (0.10.0). That's probably a little ways off though, so let's hold off on the pull request for now :).

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