home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 800678839 and user = 38673295 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

  • kripnerl · 3 ✖

issue 1

  • Unicode strings unexpectedly transformed to byte strings upon `open_dataset` · 3 ✖

author_association 1

  • NONE 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
777612332 https://github.com/pydata/xarray/issues/4859#issuecomment-777612332 https://api.github.com/repos/pydata/xarray/issues/4859 MDEyOklzc3VlQ29tbWVudDc3NzYxMjMzMg== kripnerl 38673295 2021-02-11T16:16:43Z 2021-02-11T16:16:43Z NONE

@kmuehlbauer Thanks a lot, I will check it ASAP. Yop, conversion to object from U4 is, I believe, normal behaviour. However, this does not cause any trouble for me so far.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unicode strings unexpectedly transformed to byte strings upon `open_dataset` 800678839
772818772 https://github.com/pydata/xarray/issues/4859#issuecomment-772818772 https://api.github.com/repos/pydata/xarray/issues/4859 MDEyOklzc3VlQ29tbWVudDc3MjgxODc3Mg== kripnerl 38673295 2021-02-03T20:59:00Z 2021-02-03T20:59:00Z NONE

Yes, there was a behaviour change in h5py. A fix is on the way but not yet released: h5netcdf/h5netcdf#81

For the time being you can downgrade h5py: conda install h5py=2 which should fix the issue.

Thank you!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unicode strings unexpectedly transformed to byte strings upon `open_dataset` 800678839
772818248 https://github.com/pydata/xarray/issues/4859#issuecomment-772818248 https://api.github.com/repos/pydata/xarray/issues/4859 MDEyOklzc3VlQ29tbWVudDc3MjgxODI0OA== kripnerl 38673295 2021-02-03T20:58:07Z 2021-02-03T20:58:07Z NONE

Possible solution to my problem is:

python test_ds.coords["coils"] = test_ds.coils.values.astype(np.unicode_) test_ds

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unicode strings unexpectedly transformed to byte strings upon `open_dataset` 800678839

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