home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 1390228572 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

  • benbovy 2
  • znicholls 1

author_association 2

  • MEMBER 2
  • CONTRIBUTOR 1

issue 1

  • Duplicate values on unstack · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1263016285 https://github.com/pydata/xarray/issues/7104#issuecomment-1263016285 https://api.github.com/repos/pydata/xarray/issues/7104 IC_kwDOAMm_X85LSBld znicholls 23625371 2022-09-30T02:00:44Z 2022-09-30T02:00:44Z CONTRIBUTOR

Ok great thanks, solutions sound good

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Duplicate values on unstack 1390228572
1261998233 https://github.com/pydata/xarray/issues/7104#issuecomment-1261998233 https://api.github.com/repos/pydata/xarray/issues/7104 IC_kwDOAMm_X85LOJCZ benbovy 4160723 2022-09-29T09:12:54Z 2022-09-29T09:12:54Z MEMBER

Maybe we should check pandas.MultiIndex.is_unique in Dataset.unstack()

Better to check this in PandasMultiIndex.unstack() actually.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Duplicate values on unstack 1390228572
1261996160 https://github.com/pydata/xarray/issues/7104#issuecomment-1261996160 https://api.github.com/repos/pydata/xarray/issues/7104 IC_kwDOAMm_X85LOIiA benbovy 4160723 2022-09-29T09:11:05Z 2022-09-29T09:11:05Z MEMBER

Thanks for the report @znichollscr.

Maybe we should check pandas.MultiIndex.is_unique in Dataset.unstack() like in Dataset.from_dataframe()?

```python df = ds.drop_vars("lat").to_dataframe()

xr.Dataset.from_dataframe(df)

ValueError: cannot convert a DataFrame with a non-unique MultiIndex into xarray

```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Duplicate values on unstack 1390228572

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