home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 601947199

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-601947199 https://api.github.com/repos/pydata/xarray/issues/3871 601947199 MDEyOklzc3VlQ29tbWVudDYwMTk0NzE5OQ== 2272878 2020-03-20T23:06:45Z 2020-03-20T23:06:45Z CONTRIBUTOR

@keewis @max-sixty The map thing is purely a convenience function. I know there are other ways to do it, but since I thought this would be a useful feature for users in its own right, I did it that way. But of course I can do it another way if you disagree.

The one complication is that using DataArray.idxmax and DataArray.idxmin assumes that the Dataset would only ever contain DataArray objects. That may be mostly the case now, but I didn't want to bake that into the code. I could do it using a lambda or nested function, but as I said I thought this approach had other benefits to users.

I will address the other comments inline.

{
    "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 1.502ms · About: xarray-datasette