home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 432019600 and user = 2448579 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

  • dcherian · 2 ✖

issue 1

  • Safely open / close netCDF files without resource locking · 2 ✖

author_association 1

  • MEMBER 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
482620638 https://github.com/pydata/xarray/issues/2887#issuecomment-482620638 https://api.github.com/repos/pydata/xarray/issues/2887 MDEyOklzc3VlQ29tbWVudDQ4MjYyMDYzOA== dcherian 2448579 2019-04-12T15:36:39Z 2019-04-12T15:36:39Z MEMBER

OK. But what about the usual scientist workflow where you work in multiple cells

``` ds.load()

do computation

```

next cell: do more computation ...

ds.close() # is this right? ds.to_netcdf('test.nc')

I wonder if we should add autoclose as a kwarg for to_netcdf. If autoclose=True, remove that file from the LRU cache if present, and then write to file.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Safely open / close netCDF files without resource locking 432019600
482357619 https://github.com/pydata/xarray/issues/2887#issuecomment-482357619 https://api.github.com/repos/pydata/xarray/issues/2887 MDEyOklzc3VlQ29tbWVudDQ4MjM1NzYxOQ== dcherian 2448579 2019-04-11T22:58:28Z 2019-04-11T22:58:28Z MEMBER

what is the recommended code pattern for reading a file; adding a few variables; and then writing back to the same file?

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Safely open / close netCDF files without resource locking 432019600

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