home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 207587161

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
207587161 MDU6SXNzdWUyMDc1ODcxNjE= 1269 GroupBy like API for resample 1217238 closed 0     6 2017-02-14T17:46:02Z 2017-09-22T16:27:35Z 2017-09-22T16:27:35Z MEMBER      

Since we wrote resample in xarray, pandas updated resample to have a groupyby-like API (e.g., df.resample('24H').mean() vs. the old df.resample('24H') that uses the mean by default).

It would be nice to redo the xarray resample API to match, e.g., ds.resample(time='24H').mean() vs ds.resample('time', '24H'). This would solve a few use cases, including grouped-resample arithmetic, iterating over groups and (mostly) take care of the need for pd.TimeGrouper support (https://github.com/pydata/xarray/issues/364). If we use **kwargs for matching dimension names, this could be done with a minimally painful deprecation cycle.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1269/reactions",
    "total_count": 3,
    "+1": 3,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 2 rows from issues_id in issues_labels
  • 6 rows from issue in issue_comments
Powered by Datasette · Queries took 0.637ms · About: xarray-datasette