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 = 235687353 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

  • Expected S1 dtype in datarray but got float64 · 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
309171587 https://github.com/pydata/xarray/issues/1452#issuecomment-309171587 https://api.github.com/repos/pydata/xarray/issues/1452 MDEyOklzc3VlQ29tbWVudDMwOTE3MTU4Nw== shoyer 1217238 2017-06-17T00:19:32Z 2017-06-17T00:19:32Z MEMBER

It looks like this variable has an attribute _FillValue = -1, which isn't a valid string value: In [18]: ds['tidenames'].encoding Out[18]: {'_FillValue': -1, 'dtype': dtype('S1'), 'original_shape': (38, 64), 'source': 'http://geoport.whoi.edu/thredds/dodsC/usgs/vault0/models/tides/vdatum_gulf_of_maine/adcirc54_38_orig.nc'}

Potentially we could update xarray's CF conventions code to handle inconsistent dtypes and _FillValue attributes, or possibly this file should be fixed instead.

A work around is to set mask_and_scale=False: ``` In [19]: ds = xr.open_dataset(url, mask_and_scale=False)

In [21]: ds['tidenames'] Out[21]: <xarray.DataArray 'tidenames' (ntides: 38)> array([b'STEADY ', b'MN ', b'SM ', b'K1 ', b'O1 ', b'P1 ', b'Q1 ', b'SO1 ', b'MNS2 ', b'2MS2 ', b'N2 ', b'M2 ', b'2MN2 ', b'S2 ', b'K2 ', b'MSN2 ', b'2SM2 ', b'MO3 ', b'SO3/MK3', b'SK3 ', b'N4 ', b'3MS4 ', b'MN4 ', b'M4 ', b'3MN4 ', b'MS4 ', b'2MSN4 ', b'2NM6 ', b'2MN6 ', b'M6 ', b'MSN6 ', b'2MS6 ', b'2SM6 ', b'2(MN)8 ', b'3MN8 ', b'M8 ', b'2MSN8 ', b'3MS8 '], dtype='|S64') Dimensions without coordinates: ntides Attributes: long_name: Tide Constituent missing_value: -1 standard_name: tide_constituent ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Expected S1 dtype in datarray but got float64 235687353

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