home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 1372053736 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • DocOtak 1
  • danlkv 1

author_association 2

  • CONTRIBUTOR 1
  • NONE 1

issue 1

  • DataArray saved from v0.19.0 is faulty when reading with v0.21.0+ · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1246115189 https://github.com/pydata/xarray/issues/7032#issuecomment-1246115189 https://api.github.com/repos/pydata/xarray/issues/7032 IC_kwDOAMm_X85KRjV1 danlkv 13188417 2022-09-14T01:22:42Z 2022-09-14T01:22:42Z NONE

Got it. For anyone who faces the same issue, here's a workaround: downgrade your xarray, read the data and then convert it to dict using .to_dict.

Netcdf didn't work because each item in my DataArray is a tuple of lists, and all lists have different lengths. I had the setting an array element ith a sequence error.

{
    "total_count": 2,
    "+1": 2,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DataArray saved from v0.19.0 is faulty when reading with v0.21.0+  1372053736
1246041612 https://github.com/pydata/xarray/issues/7032#issuecomment-1246041612 https://api.github.com/repos/pydata/xarray/issues/7032 IC_kwDOAMm_X85KRRYM DocOtak 868027 2022-09-13T23:13:21Z 2022-09-13T23:13:21Z CONTRIBUTOR

Pickle requires that the internal details of xarray's data structures be the same between versions. The documentation about xarray's pickle support says pickle is not guaranteed to work between versions of xarray.

Why didn't netcdf work for your use case?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DataArray saved from v0.19.0 is faulty when reading with v0.21.0+  1372053736

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