home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 830684407

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/5239#issuecomment-830684407 https://api.github.com/repos/pydata/xarray/issues/5239 830684407 MDEyOklzc3VlQ29tbWVudDgzMDY4NDQwNw== 5635139 2021-05-01T19:45:12Z 2021-05-01T19:45:12Z MEMBER

If you drop duplicates over multiple variables at once, what dimensions should the result have? In particular -- should it have the original dimensions, or should all dimensions involved be combined into one?

The latter might seem a little crazy now, but would make more sense once we allow dropping over multi-dimensional variables.

If we really want to avoid any possible controversy here, it might be best to stick to only supporting one variable for now, too.

For me this case supports consistent behavior over any number of dims! Which would mean rejecting the "stack only if you supply exactly ndims" proposal.

Completely fine with restricting to one dim for the moment and seeing how that goes (it's always possible to pass .drop_duplicates_coords(dim1).drop_duplicates_coords(dim2).

Were we going with drop_duplicates or drop_duplicates_coords? No strong view from me at all.

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