home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 472145306

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/2807#issuecomment-472145306 https://api.github.com/repos/pydata/xarray/issues/2807 472145306 MDEyOklzc3VlQ29tbWVudDQ3MjE0NTMwNg== 1217238 2019-03-12T19:21:26Z 2019-03-12T19:21:26Z MEMBER

I understand that there might be some challenges with returning xarray objects, but it seems like taking xarray objects should be very straightforward. Anything problematic about that?

This would probably be fine as an opt-in option. I'm a little worried that this would be a confusing model for users -- we don't have any other functions that work like this.

Maybe something similar would work here? Xarray would construct a dummy Xarray chunk, apply the user defined function onto that chunk, and then extrapolate metadata out from there somehow.

Yes, this is another possibility, though with xarray there is quite a bit of metadata to extrapolate! We do something similar already in groupby.

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