home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "NONE" and issue = 260912521 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • darothen 2

issue 1

  • Equivalent of numpy.insert for DataSet / DataArray? · 2 ✖

author_association 1

  • NONE · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
332619692 https://github.com/pydata/xarray/issues/1596#issuecomment-332619692 https://api.github.com/repos/pydata/xarray/issues/1596 MDEyOklzc3VlQ29tbWVudDMzMjYxOTY5Mg== darothen 4992424 2017-09-27T18:49:34Z 2017-09-27T18:49:34Z NONE

@willirath Never hurts!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Equivalent of numpy.insert for DataSet / DataArray? 260912521
332519089 https://github.com/pydata/xarray/issues/1596#issuecomment-332519089 https://api.github.com/repos/pydata/xarray/issues/1596 MDEyOklzc3VlQ29tbWVudDMzMjUxOTA4OQ== darothen 4992424 2017-09-27T13:23:38Z 2017-09-27T13:23:38Z NONE

@willirath is your time data equally spaced? If so, you should be able to use the new version of DataArray.resample() available on the master (and scheduled for the 0.10.0 release) which supports upsampling/infilling.

Should work something like this, assuming each timestep is a daily value on the time axis:

``` python ds = xr.open_mfdataset("paths/to/my/data.nc")

ds_infilled = ds.resample(time='1D').asfreq() ```

That should get you nans wherever your data is missing.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Equivalent of numpy.insert for DataSet / DataArray? 260912521

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 14.459ms · About: xarray-datasette