issues
2 rows where "created_at" is on date 2023-02-24, state = "open" and user = 2448579 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1599044689 | I_kwDOAMm_X85fT3xR | 7558 | shift time using frequency strings | dcherian 2448579 | open | 0 | 2 | 2023-02-24T17:35:52Z | 2023-02-26T15:08:13Z | MEMBER | Discussed in https://github.com/pydata/xarray/discussions/7557
<sup>Originally posted by **arfriedman** February 24, 2023</sup>
Hi,
In addition to integer offsets, I was wondering if it is possible to [shift](https://docs.xarray.dev/en/stable/generated/xarray.Variable.shift.html) a variable by a specific time frequency interval as in [pandas](https://pandas.pydata.org/docs/reference/api/pandas.Series.shift.html).
For example, something like:
```
import xarray as xr
ds = xr.tutorial.load_dataset("air_temperature")
air = ds["air"]
air.shift(time="1D")
```
Otherwise, is there another xarray function or recommended approach for this type of operation? |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7558/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | issue | ||||||||
1599056009 | I_kwDOAMm_X85fT6iJ | 7559 | Support specifying chunk sizes using labels (e.g. frequency string) | dcherian 2448579 | open | 0 | 2 | 2023-02-24T17:44:03Z | 2023-02-25T03:46:49Z | MEMBER | Is your feature request related to a problem?
I think this would be a useful addition to Describe the solution you'd like
Describe alternatives you've consideredHave the user do this manually but that's kind of annoying, and a bit advanced. Additional contextNo response |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7559/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | issue |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issues] ( [id] INTEGER PRIMARY KEY, [node_id] TEXT, [number] INTEGER, [title] TEXT, [user] INTEGER REFERENCES [users]([id]), [state] TEXT, [locked] INTEGER, [assignee] INTEGER REFERENCES [users]([id]), [milestone] INTEGER REFERENCES [milestones]([id]), [comments] INTEGER, [created_at] TEXT, [updated_at] TEXT, [closed_at] TEXT, [author_association] TEXT, [active_lock_reason] TEXT, [draft] INTEGER, [pull_request] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [state_reason] TEXT, [repo] INTEGER REFERENCES [repos]([id]), [type] TEXT ); CREATE INDEX [idx_issues_repo] ON [issues] ([repo]); CREATE INDEX [idx_issues_milestone] ON [issues] ([milestone]); CREATE INDEX [idx_issues_assignee] ON [issues] ([assignee]); CREATE INDEX [idx_issues_user] ON [issues] ([user]);