home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 201378550

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/802#issuecomment-201378550 https://api.github.com/repos/pydata/xarray/issues/802 201378550 MDEyOklzc3VlQ29tbWVudDIwMTM3ODU1MA== 1217238 2016-03-25T17:30:33Z 2016-03-25T17:30:33Z MEMBER

Dictionaries not hashable, so we might be able to detect this case by calling hash() and raising a KeyError with alternative suggestions. Just an idea -- not sure if there's a clean way to implement that.

On Fri, Mar 25, 2016 at 10:10 AM, Benoit Bovy notifications@github.com wrote:

After refactoring a bit, da.loc[{'band': 'foo'}, :] and da.loc[{'band': 'foo'}, ...] now work as expected.

da.loc[{'band': 'foo'}] still raises a KeyError. Although it is possible to catch this exception, it still remains ambiguous so it is probably better to do nothing.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/pydata/xarray/pull/802#issuecomment-201370448

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