home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where issue = 1323521079 and user = 17813788 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

  • l-johnston · 1 ✖

issue 1

  • Testing DataArray equality using built-in '==' operator leads to mutilated DataArray.attrs dictionary · 1 ✖

author_association 1

  • NONE 1
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1200473092 https://github.com/pydata/xarray/issues/6852#issuecomment-1200473092 https://api.github.com/repos/pydata/xarray/issues/6852 IC_kwDOAMm_X85HjcQE l-johnston 17813788 2022-07-31T18:11:12Z 2022-07-31T18:11:12Z NONE

keep_attrs=True doesn't help ```python In [1]: import xarray as xr In [2]: xr.set_options(keep_attrs=True) Out[2]: <xarray.core.options.set_options at 0x1789a959fa0> In [3]: da_withunits = xr.DataArray([1, 1, 1], coords={"frequency": [1, 2, 3]}) In [4]: da_withunits.frequency.attrs["units"] = "GHz" In [5]: da_withunits.frequency.units Out[5]: 'GHz' In [6]: da_withoutunits = xr.DataArray([1, 1, 1], coords={"frequency": [1, 2, 3]}) In [7]: da_withunits == da_withoutunits Out[7]: <xarray.DataArray (frequency: 3)> array([ True, True, True]) Coordinates: * frequency (frequency) int32 1 2 3

In [8]: da_withunits.frequency.units

AttributeError Traceback (most recent call last) Input In [8], in <cell line: 1>() ----> 1 da_withunits.frequency.units File ~\AppData\Local\Programs\Python\Python39\lib\site-packages\xarray\core\common.py:256, in AttrAccessMixin.getattr(self, name) 254 with suppress(KeyError): 255 return source[name] --> 256 raise AttributeError( 257 f"{type(self).name!r} object has no attribute {name!r}" 258 ) AttributeError: 'DataArray' object has no attribute 'units' ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Testing DataArray equality using built-in '==' operator leads to mutilated DataArray.attrs dictionary 1323521079

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