home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 192340787

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/784#issuecomment-192340787 https://api.github.com/repos/pydata/xarray/issues/784 192340787 MDEyOklzc3VlQ29tbWVudDE5MjM0MDc4Nw== 1217238 2016-03-04T16:18:17Z 2016-03-04T16:18:17Z MEMBER

This doesn't work automatically, but you can use the method='nearest' and the tolerance argument with .reindex or .reindex_like to align two datasets with different grids, i.e.,

second = first.reindex_like(second, method='nearest', tolerance=0.001)

It would be nice for this to be able to work automatically, but the challenge is picking a heuristic that does not violate the principle of least surprise. A proposed a few ideas in a related issue in pandas (https://github.com/pydata/pandas/issues/9817#issuecomment-115465360).

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