home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 601989897

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/3871#issuecomment-601989897 https://api.github.com/repos/pydata/xarray/issues/3871 601989897 MDEyOklzc3VlQ29tbWVudDYwMTk4OTg5Nw== 5635139 2020-03-21T03:57:00Z 2020-03-21T03:57:00Z MEMBER

The one complication is that using DataArray.idxmax and DataArray.idxmin assumes that the Dataset would only ever contain DataArray objects

I hear you and share the impulse that baking this in seems not ideal. Though I think it's a reasonable compromise to make, and there are no plans to deviate from it.

(Ideally maybe we have a ._contained_class attribute on the dataset which is almost always DataArray)

I think having a lambda is fine too.

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