home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where author_association = "MEMBER" and issue = 95788263 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

  • shoyer 1

issue 1

  • Define order of coordinates / variables of netcdf created from dset · 1 ✖

author_association 1

  • MEMBER · 1 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
122484583 https://github.com/pydata/xarray/issues/479#issuecomment-122484583 https://api.github.com/repos/pydata/xarray/issues/479 MDEyOklzc3VlQ29tbWVudDEyMjQ4NDU4Mw== shoyer 1217238 2015-07-18T05:15:40Z 2015-07-18T05:15:40Z MEMBER

I thought we were writing variables in order of appearance in datasets, but it looks like we weren't doing that. #480 should fix that issue, at least when using netCDF4-python (the default backend).

Once that patch is merged, you can reorder variables in datasets by indexing with a list of variable names, e.g.,

``` In [6]: ds = xray.Dataset(OrderedDict([('x', 10), ('a', -1), ('z', np.nan)]), {'c': 0})

In [7]: ds Out[7]: <xray.Dataset> Dimensions: () Coordinates: c int64 0 Data variables: x int64 10 a int64 -1 z float64 nan

In [9]: ds.to_netcdf('tmp.nc')

In [10]: ! ncdump -h tmp.nc netcdf tmp { variables: int64 x ; int64 a ; double z ; int64 c ;

// global attributes: :coordinates = "c" ; }

In [11]: ds[['z', 'c', 'x', 'a']].to_netcdf('tmp.nc')

In [12]: ! ncdump -h tmp.nc netcdf tmp { variables: double z ; int64 c ; int64 x ; int64 a ;

// global attributes: :coordinates = "c" ; } ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Define order of coordinates / variables of netcdf created from dset 95788263

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