home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 281186680

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/1272#issuecomment-281186680 https://api.github.com/repos/pydata/xarray/issues/1272 281186680 MDEyOklzc3VlQ29tbWVudDI4MTE4NjY4MA== 4992424 2017-02-20T21:36:06Z 2017-02-20T21:36:06Z NONE

Smoothed out most of the problems from earlier and missing details. Still not sure if it's wise to refactor most of the resampling logic into a new resample.py, like what was done with rolling, but it still makes some sense to keep things in groupby.py because we're just subclassing existing machinery from there.

The only issue now is the signature for init() in Data{set,Array}Resample, where we have to add in two keyword arguments. Python 2.x doesn't like named arguments after *args. There are a few options here, mostly just playing with **kwargs as in this StackOverflow thread.

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