home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 267826297

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
267826297 MDU6SXNzdWUyNjc4MjYyOTc= 1651 ENH: Forward & back fill methods 5635139 closed 0     7 2017-10-23T21:39:18Z 2018-02-09T17:36:30Z 2018-02-09T17:36:29Z MEMBER      

I think with np.flip and bn.push, this should be simple. They're both fairly new and so would require version checks / upgrading the minimums.

One small issue, I wonder if anyone has come across this: bottleneck returns the numpy array rather than the DataArray - is that because it's not operating with the correct numpy interface?

Forward fill: array.values = bn.push(array.values, axis=array.get_axis_num(axis_name))

Backfill: ``` axis = array.get_axis_num(axis_name)

reverse for bfill

array = np.flip(array, axis=axis)

fill

array.values = bn.push(array.values, axis=axis)

reverse back to original

result = np.flip(scaling, axis=date_axis) ```

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

Links from other tables

  • 1 row from issues_id in issues_labels
  • 7 rows from issue in issue_comments
Powered by Datasette · Queries took 0.647ms · About: xarray-datasette