home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 77808372

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/364#issuecomment-77808372 https://api.github.com/repos/pydata/xarray/issues/364 77808372 MDEyOklzc3VlQ29tbWVudDc3ODA4Mzcy 1217238 2015-03-09T07:01:11Z 2015-03-09T07:01:11Z MEMBER

Well, I guess the first question is -- are there uses for TimeGrouper that you can't easily do with resample?

I suppose the simplest (no new method) would be to allow passing a dict where the key is the time dimension and the value is the grouper. Something like ds.groupby({'time': pd.TimeGrouper(...)}) or ds.groupby(time=pd.TimeGrouper(...)).

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