home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where user = 118520620 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

issue 2

  • Bugfix/coords not deep copy 1
  • Coordinates not deep copy 1

user 1

  • mgaspary · 2 ✖

author_association 1

  • NONE 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1427503304 https://github.com/pydata/xarray/issues/7463#issuecomment-1427503304 https://api.github.com/repos/pydata/xarray/issues/7463 IC_kwDOAMm_X85VFfjI mgaspary 118520620 2023-02-13T08:02:55Z 2023-02-13T08:02:55Z NONE

Yes I think we should, but I might have missed the rationale behind allowing it if this is intentional.

EDIT: perhaps better to issue a warning first to avoid some breaking change. We could also try to fix it (make a deep copy) at the same time as deprecating it, but that might be tricky without again introducing performance regressions.

I would assume that deepcopy are completely going to copy the object, so if I change internal parts (like coordinates here), 1st object shall not change. It definitely affects the performance, but otherwise deepcopy is not deep anymore

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Coordinates not deep copy 1550792876
1398221681 https://github.com/pydata/xarray/pull/2930#issuecomment-1398221681 https://api.github.com/repos/pydata/xarray/issues/2930 IC_kwDOAMm_X85TVytx mgaspary 118520620 2023-01-20T10:58:22Z 2023-01-20T10:58:37Z NONE

seems like the same issue again: ```python import xarray as xr

xarr1 = xr.DataArray( np.zeros([2]), coords=dict(x=[0.0, 1.0]), # important to use 'float' here! with 'int' it is working fine dims=("x") ) print(xarr1.x.data[0]) # 0.0

xarr2 = xarr1.copy(deep=True) xarr2.x.data[0] = 45 print(xarr1.x.data[0]) # gives 45 ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Bugfix/coords not deep copy 438537597

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