home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where author_association = "CONTRIBUTOR" and issue = 535703663 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: reactions, created_at (date), updated_at (date)

user 2

  • niowniow 3
  • kmsquire 1

issue 1

  • Feature Request: Efficient rolling with strides · 4 ✖

author_association 1

  • CONTRIBUTOR · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
888250482 https://github.com/pydata/xarray/issues/3608#issuecomment-888250482 https://api.github.com/repos/pydata/xarray/issues/3608 IC_kwDOAMm_X8408aBy niowniow 5802846 2021-07-28T11:58:28Z 2021-07-28T11:58:28Z CONTRIBUTOR

You are right. It's quite confusing. I've already added a stride parameter in my PR #3607 I didn't follow through with it and at the moment the checks are not successful anymore. Maybe someone else could give an opinion on the pro/cons of a stride parameter in rolling?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Feature Request: Efficient rolling with strides 535703663
884377683 https://github.com/pydata/xarray/issues/3608#issuecomment-884377683 https://api.github.com/repos/pydata/xarray/issues/3608 IC_kwDOAMm_X840tohT kmsquire 223250 2021-07-21T17:53:59Z 2021-07-21T17:53:59Z CONTRIBUTOR

Question: instead of adding stride to reduce and _reduce_method, why not add it as a member of DataArrayRolling directly? This would allow, e.g., __iter__ to use it as well, and seems like a cleaner interface.

I've been confused why some parameters are available only in construct (stride, fill_value), some are available both in construct and in the DataArrayRolling constructor (keep_attrs), and some are only available in the constructor (min_periods, center, and soon pad).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Feature Request: Efficient rolling with strides 535703663
851469496 https://github.com/pydata/xarray/issues/3608#issuecomment-851469496 https://api.github.com/repos/pydata/xarray/issues/3608 MDEyOklzc3VlQ29tbWVudDg1MTQ2OTQ5Ng== niowniow 5802846 2021-05-31T12:50:37Z 2021-05-31T12:50:37Z CONTRIBUTOR

Quickly glancing over sliding_window_view I didn't immediately understand how to use it with stride. Would I need to 1. transform the DataArray to dask array using chunk (which may involve an overhead!?), 2. then use rolling which itself uses sliding_window_view because its a dask array!? 3. Then use isel with stride on the new dimension?

reduce can easily support stride by passing it on here:

I think that's what I did in #3607. It's been a while

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Feature Request: Efficient rolling with strides 535703663
564023352 https://github.com/pydata/xarray/issues/3608#issuecomment-564023352 https://api.github.com/repos/pydata/xarray/issues/3608 MDEyOklzc3VlQ29tbWVudDU2NDAyMzM1Mg== niowniow 5802846 2019-12-10T13:05:10Z 2019-12-10T13:05:10Z CONTRIBUTOR

Previous enhancement requests asking for a stride argument to rolling: https://github.com/pandas-dev/pandas/issues/15354, https://github.com/pandas-dev/pandas/issues/22976, https://github.com/pandas-dev/pandas/issues/27654#issue-474416717, https://github.com/dask/dask/issues/4659, https://github.com/numpy/numpy/issues/7753

Originally posted by @pilkibun in https://github.com/pandas-dev/pandas/issues/26959#issuecomment-511233955

{
    "total_count": 4,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 3
}
  Feature Request: Efficient rolling with strides 535703663

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 1120.552ms · About: xarray-datasette