home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 881269881

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/5607#issuecomment-881269881 https://api.github.com/repos/pydata/xarray/issues/5607 881269881 IC_kwDOAMm_X840hxx5 5635139 2021-07-16T08:23:52Z 2021-07-16T08:23:52Z MEMBER

My particular use case is that have datasets that are large enough that I can't see the full diff, so might miss major changes. I'm wanting to pass in something like lambda a, b: f"Largest difference in data is {abs(a-b).max().item()}", so I can quickly see if the changes are meaningful. Obviously a more complex function might also be useful, like a summary/describe table output of the differences..

Whether or not we merge this, I would be a +1 on improving the output of the canonical function better, such that we can see differences easily. I would also imagine we can iterate on those without worrying about backward-compat, given this is generating output for people.

As an example, printing the result of the exact statement above for large arrays, maybe also with dimension values, would be great!

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