issue_comments
2 rows where issue = 523037716 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- subtracting CFTimeIndex can cause pd.TimedeltaIndex to overflow · 2 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
554648042 | https://github.com/pydata/xarray/issues/3535#issuecomment-554648042 | https://api.github.com/repos/pydata/xarray/issues/3535 | MDEyOklzc3VlQ29tbWVudDU1NDY0ODA0Mg== | spencerkclark 6628425 | 2019-11-16T15:39:23Z | 2019-11-16T15:39:23Z | MEMBER | Thanks for raising this issue @mathause. In hindsight this does not surprise me. Pandas's strict use of nanosecond-resolution datetimes and timedeltas was part of the motivation for the Perhaps a more robust (yet more complex) solution for https://github.com/pydata/xarray/issues/2484 would be to write a version of a Regarding the It appears if we just select the first value of each index (i.e. a
```
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
subtracting CFTimeIndex can cause pd.TimedeltaIndex to overflow 523037716 | |
554317768 | https://github.com/pydata/xarray/issues/3535#issuecomment-554317768 | https://api.github.com/repos/pydata/xarray/issues/3535 | MDEyOklzc3VlQ29tbWVudDU1NDMxNzc2OA== | mathause 10194086 | 2019-11-15T11:05:44Z | 2019-11-15T11:08:29Z | MEMBER | This happens in ``` python import xarray as xr i1 = xr.cftime_range("4500-12-31", periods=1) i2 = xr.cftime_range("4600-12-31", periods=1) i3 = xr.cftime_range("5100-12-31", periods=1) d1 = xr.DataArray([0], dims=("time", ), coords={"time": ("time", i1)}).to_dataset(name="a") d2 = xr.DataArray([1], dims=("time", ), coords={"time": ("time", i2)}).to_dataset(name="a") d3 = xr.DataArray([2], dims=("time", ), coords={"time": ("time", i3)}).to_dataset(name="a") xr.combine_by_coords([d1, d2, d3]).time ``` returns:
Within ``` python import pandas as pd indexes = [i1, i2, i3] the code from _infer_concat_order_from_coordsfirst_items = pd.Index([index.take([0]) for index in indexes]) series = first_items.to_series() rank = series.rank(method="dense", ascending=ascending) order = rank.astype(int).values - 1 order
This causes the second item to be dropped. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
subtracting CFTimeIndex can cause pd.TimedeltaIndex to overflow 523037716 |
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 2