home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 248409634

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/873#issuecomment-248409634 https://api.github.com/repos/pydata/xarray/issues/873 248409634 MDEyOklzc3VlQ29tbWVudDI0ODQwOTYzNA== 1328158 2016-09-20T19:37:07Z 2016-09-20T19:37:07Z NONE

Thanks for this clarification, Stephan. Apparently I didn't read the API documentation closely enough, as I was assuming that the function is applied to the underlying ndarray rather than to all data variables of a Dataset object. Now that I've taken the approach you suggested I'm cooking with gas, and it's very encouraging. I really appreciate your help.

​--James ​

On Tue, Sep 20, 2016 at 11:54 AM, Stephan Hoyer notifications@github.com wrote:

GroupBy is working as intended here. ds.groupby('something').apply(func) calls func on objects of the same type as ds. If you group a Dataset, each time you apply to a Dataset, too.

You can certainly still use np.convolve, but you'll need to manually apply it to numpy arrays extracted from a Dataset and then rebuild another Dataset or DataArray.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pydata/xarray/issues/873#issuecomment-248345053, or mute the thread https://github.com/notifications/unsubscribe-auth/ABREHkSB-DvW5OD3DHuYxYzP7l7yfjL2ks5qsAGcgaJpZM4IwE4g .

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