home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 623131373 and user = 14808389 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

  • keewis · 2 ✖

issue 1

  • Bug in conversion frompd.series in 0.15.1 · 2 ✖

author_association 1

  • MEMBER 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
632644348 https://github.com/pydata/xarray/issues/4087#issuecomment-632644348 https://api.github.com/repos/pydata/xarray/issues/4087 MDEyOklzc3VlQ29tbWVudDYzMjY0NDM0OA== keewis 14808389 2020-05-22T11:29:40Z 2020-05-22T11:59:40Z MEMBER

thanks for the hint. Yes, that seems to have been fixed since the last release (#3951, I believe). It's going to be part of the next release, which should be soonish (see #4031).

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Bug in conversion frompd.series in 0.15.1 623131373
632639967 https://github.com/pydata/xarray/issues/4087#issuecomment-632639967 https://api.github.com/repos/pydata/xarray/issues/4087 MDEyOklzc3VlQ29tbWVudDYzMjYzOTk2Nw== keewis 14808389 2020-05-22T11:19:10Z 2020-05-22T11:24:11Z MEMBER

that's strange. If I run it, I get ```python In [1]: import pandas as pd ...: import xarray as xr

In [2]: data3 = pd.DataFrame([(1, 2, 1), (2, 2, 1)],columns=['x', 'B', 'A']) ...: data3 = data3.set_index(['x']) ...: data3.rename_axis('tag', axis=1, inplace=True) ...: data3 = data3.stack() ...:
...: data3 Out[2]: x tag 1 B 2 A 1 2 B 2 A 1 dtype: int64

In [3]: xr.DataArray.from_series(data3).sel(tag='B') Out[3]: <xarray.DataArray (x: 2)> array([2, 2]) Coordinates: * x (x) int64 1 2 tag <U1 'B' ``` which I believe is what you expect.

Edit: could you try updating pandas?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Bug in conversion frompd.series in 0.15.1 623131373

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