home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 623131373 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • keewis 2
  • kmuehlbauer 1

issue 1

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

author_association 1

  • MEMBER 3
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
632642328 https://github.com/pydata/xarray/issues/4087#issuecomment-632642328 https://api.github.com/repos/pydata/xarray/issues/4087 MDEyOklzc3VlQ29tbWVudDYzMjY0MjMyOA== kmuehlbauer 5821660 2020-05-22T11:24:52Z 2020-05-22T11:24:52Z MEMBER

@keewis I've the same output as the OP. Here is my xr.show_versions():

``` INSTALLED VERSIONS


commit: None python: 3.8.2 | packaged by conda-forge | (default, Apr 16 2020, 18:04:51) [GCC 7.3.0] python-bits: 64 OS: Linux OS-release: 4.12.14-lp151.28.48-default machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: de_DE.UTF-8 LOCALE: de_DE.UTF-8 libhdf5: 1.10.5 libnetcdf: 4.7.4

xarray: 0.15.1 pandas: 1.0.3 numpy: 1.18.1 scipy: 1.4.1 netCDF4: 1.5.3 pydap: None h5netcdf: 0.8.0 h5py: 2.10.0 Nio: None zarr: None cftime: 1.1.1.2 nc_time_axis: None PseudoNetCDF: None rasterio: None cfgrib: None iris: None bottleneck: 1.3.2 dask: 2.14.0 distributed: 2.14.0 matplotlib: 3.2.1 cartopy: 0.17.0 seaborn: None numbagg: None setuptools: 46.1.3.post20200325 pip: 20.0.2 conda: None pytest: 5.4.1 IPython: 7.13.0 sphinx: None ```

{
    "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
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 13.424ms · About: xarray-datasette