home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 716066118

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/issues/4535#issuecomment-716066118 https://api.github.com/repos/pydata/xarray/issues/4535 716066118 MDEyOklzc3VlQ29tbWVudDcxNjA2NjExOA== 2448579 2020-10-24T22:59:56Z 2020-10-24T23:00:30Z MEMBER

For resample, we could add it to .indexes["time"] which is pd.DatetimeIndex so the addition should work.

I agree with generally supporting adding pandas offset objects.

EDIT: to clarify, ds["time"] = ds.indexes["time"] + to_offset(loffset) should do what we want

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