home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1316170523

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/7278#issuecomment-1316170523 https://api.github.com/repos/pydata/xarray/issues/7278 1316170523 IC_kwDOAMm_X85Ocysb 167164 2022-11-16T01:54:24Z 2022-11-16T01:54:24Z NONE

Thank you, this is sufficient for me for now. I was able to replace

python nearest_point = remap_label_indexers(self.data, dict(x=x, y=y), method='nearest')[0]

with

python nearest_point = map_index_queries(self.data, dict(x=x, y=y), method='nearest').dim_indexers

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