issue_comments
7 rows where issue = 1550792876 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Coordinates not deep copy · 7 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1428391853 | https://github.com/pydata/xarray/issues/7463#issuecomment-1428391853 | https://api.github.com/repos/pydata/xarray/issues/7463 | IC_kwDOAMm_X85VI4et | dcherian 2448579 | 2023-02-13T17:47:22Z | 2023-02-13T17:47:22Z | MEMBER |
I agree. We don't allow it on Now I see we already did this in https://github.com/pydata/xarray/pull/3862/files So I guess that got lost in the indexes refactor.
I would expect On that pandas thread I see:
Seems like we should all be setting the numpy data to be read-only with |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Coordinates not deep copy 1550792876 | |
| 1427538729 | https://github.com/pydata/xarray/issues/7463#issuecomment-1427538729 | https://api.github.com/repos/pydata/xarray/issues/7463 | IC_kwDOAMm_X85VFoMp | benbovy 4160723 | 2023-02-13T08:31:49Z | 2023-02-13T09:26:10Z | MEMBER | There are two issues:
|
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Coordinates not deep copy 1550792876 | |
| 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 |
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 |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Coordinates not deep copy 1550792876 | |
| 1426311006 | https://github.com/pydata/xarray/issues/7463#issuecomment-1426311006 | https://api.github.com/repos/pydata/xarray/issues/7463 | IC_kwDOAMm_X85VA8de | benbovy 4160723 | 2023-02-10T20:31:10Z | 2023-02-10T20:38:48Z | MEMBER | 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. |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Coordinates not deep copy 1550792876 | |
| 1426303358 | https://github.com/pydata/xarray/issues/7463#issuecomment-1426303358 | https://api.github.com/repos/pydata/xarray/issues/7463 | IC_kwDOAMm_X85VA6l- | headtr1ck 43316012 | 2023-02-10T20:27:10Z | 2023-02-10T20:27:10Z | COLLABORATOR |
should we then raise an error if someone tries to replace values in an index? |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Coordinates not deep copy 1550792876 | |
| 1426299770 | https://github.com/pydata/xarray/issues/7463#issuecomment-1426299770 | https://api.github.com/repos/pydata/xarray/issues/7463 | IC_kwDOAMm_X85VA5t6 | benbovy 4160723 | 2023-02-10T20:25:12Z | 2023-02-10T20:25:12Z | MEMBER | I think that the reverting change in IndexVariable came after refactoring copy in Xarray introduced some performance regression (https://github.com/pydata/xarray/pull/7209#issuecomment-1305593478). I didn't see #1463 (https://github.com/pydata/xarray/issues/1463#issuecomment-340454702), though. It feels weird to me that we can mutate an IndexVariable via its |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Coordinates not deep copy 1550792876 | |
| 1426267182 | https://github.com/pydata/xarray/issues/7463#issuecomment-1426267182 | https://api.github.com/repos/pydata/xarray/issues/7463 | IC_kwDOAMm_X85VAxwu | headtr1ck 43316012 | 2023-02-10T19:53:22Z | 2023-02-10T19:53:22Z | COLLABORATOR | It seems that in copy IndexVariables are treated special and are explicitly excluded from copying. @benbovy what was the reasoning behind this choice? |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Coordinates not deep copy 1550792876 |
Advanced export
JSON shape: default, array, newline-delimited, object
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]);
user 4