home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 903095007

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/5721#issuecomment-903095007 https://api.github.com/repos/pydata/xarray/issues/5721 903095007 IC_kwDOAMm_X8411CLf 6628425 2021-08-21T10:18:33Z 2021-08-21T10:18:33Z MEMBER

Exactly, yeah, those are the problematic lines. That's an elegant solution. I think it will work with the minor modification to raise a KeyError if any of the indices returned by get_indexer_nd are less than zero: python if method is not None: indexer = get_indexer_nd(self.index, label, method, tolerance) if np.any(indexer < 0): raise KeyError(f"not all values found in index {coord_name!r}") else: indexer = self.index.get_loc(label_value)

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