issue_comments
13 rows where issue = 713834297 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Allow skipna in .dot() · 13 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
713172015 | https://github.com/pydata/xarray/issues/4482#issuecomment-713172015 | https://api.github.com/repos/pydata/xarray/issues/4482 | MDEyOklzc3VlQ29tbWVudDcxMzE3MjAxNQ== | heerad 2560426 | 2020-10-20T22:17:08Z | 2020-10-20T22:21:14Z | NONE | On the topic of fillna(), I'm seeing an odd unrelated issue that I don't have an explanation for. I have a dataarray When I do
Stack trace shows it's failing on a I have no idea how to reproduce this simply... If it helps narrow things down, |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow skipna in .dot() 713834297 | |
708474940 | https://github.com/pydata/xarray/issues/4482#issuecomment-708474940 | https://api.github.com/repos/pydata/xarray/issues/4482 | MDEyOklzc3VlQ29tbWVudDcwODQ3NDk0MA== | heerad 2560426 | 2020-10-14T15:21:29Z | 2020-10-14T15:21:55Z | NONE | Adding on, whatever the solution is that avoids blowing up memory, especially when using with |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow skipna in .dot() 713834297 | |
708088129 | https://github.com/pydata/xarray/issues/4482#issuecomment-708088129 | https://api.github.com/repos/pydata/xarray/issues/4482 | MDEyOklzc3VlQ29tbWVudDcwODA4ODEyOQ== | max-sixty 5635139 | 2020-10-14T00:50:40Z | 2020-10-14T00:50:40Z | MEMBER | Right — that makes sense now. Given that So I think there's a spectrum of implementations of The second would be required for @heerad 's case above |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow skipna in .dot() 713834297 | |
707331260 | https://github.com/pydata/xarray/issues/4482#issuecomment-707331260 | https://api.github.com/repos/pydata/xarray/issues/4482 | MDEyOklzc3VlQ29tbWVudDcwNzMzMTI2MA== | heerad 2560426 | 2020-10-12T20:31:26Z | 2020-10-12T21:05:24Z | NONE | See below. I temporarily write some files to netcdf then recombine them lazily using The issue seems to present itself more consistently when my I used the ``` import numpy as np import xarray as xr import os N = 1000 N_per_file = 10 M = 100 K = 10 window_size = 150 tmp_dir = 'tmp' os.mkdir(tmp_dir) save many netcdf files, later to be concatted into a dask.delayed datasetfor i in range(0, N, N_per_file):
open lazilyx = xr.open_mfdataset('{}/*.nc'.format(tmp_dir), parallel=True, concat_dim='d1').vals a rolling window along a stacked dimensionx_windows = x.stack(d13=['d1', 'd3']).rolling(d13=window_size).construct('window') we'll dot x_windows with y along the window dimensiony = xr.DataArray([1]*window_size, dims='window') incremental memory: 1.94 MiBx_windows.dot(y).compute() incremental memory: 20.00 MiBx_windows.notnull().dot(y).compute() incremental memory: 182.13 MiBx_windows.fillna(0.).dot(y).compute() incremental memory: 211.52 MiBx_windows.weighted(y).mean('window', skipna=True).compute() ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow skipna in .dot() 713834297 | |
707270259 | https://github.com/pydata/xarray/issues/4482#issuecomment-707270259 | https://api.github.com/repos/pydata/xarray/issues/4482 | MDEyOklzc3VlQ29tbWVudDcwNzI3MDI1OQ== | shoyer 1217238 | 2020-10-12T18:08:55Z | 2020-10-12T18:08:55Z | MEMBER |
This is surprising behavior, and definitely sounds like a bug! If you could put together a minimal test case for reproducing the issue, we could look into it. It's hard to say what a work-around would be without knowing the source of the issue. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow skipna in .dot() 713834297 | |
707238146 | https://github.com/pydata/xarray/issues/4482#issuecomment-707238146 | https://api.github.com/repos/pydata/xarray/issues/4482 | MDEyOklzc3VlQ29tbWVudDcwNzIzODE0Ng== | heerad 2560426 | 2020-10-12T17:01:54Z | 2020-10-12T17:16:07Z | NONE | Adding on here, even if This is happening with More evidence in favor: if I do
I'm happy to live with a memory copy for now with |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow skipna in .dot() 713834297 | |
706442785 | https://github.com/pydata/xarray/issues/4482#issuecomment-706442785 | https://api.github.com/repos/pydata/xarray/issues/4482 | MDEyOklzc3VlQ29tbWVudDcwNjQ0Mjc4NQ== | max-sixty 5635139 | 2020-10-09T23:29:23Z | 2020-10-09T23:29:23Z | MEMBER | Maybe on very small arrays it's quicker to do a product than a copy? As the array scales, it's surely not — dot product is O(n^3) or similar. I would be interested to see a repro... |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow skipna in .dot() 713834297 | |
706140256 | https://github.com/pydata/xarray/issues/4482#issuecomment-706140256 | https://api.github.com/repos/pydata/xarray/issues/4482 | MDEyOklzc3VlQ29tbWVudDcwNjE0MDI1Ng== | mathause 10194086 | 2020-10-09T12:01:37Z | 2020-10-09T12:01:37Z | MEMBER |
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow skipna in .dot() 713834297 | |
704634447 | https://github.com/pydata/xarray/issues/4482#issuecomment-704634447 | https://api.github.com/repos/pydata/xarray/issues/4482 | MDEyOklzc3VlQ29tbWVudDcwNDYzNDQ0Nw== | max-sixty 5635139 | 2020-10-07T01:12:09Z | 2020-10-07T01:12:09Z | MEMBER | Any idea why For some functions where |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow skipna in .dot() 713834297 | |
704064370 | https://github.com/pydata/xarray/issues/4482#issuecomment-704064370 | https://api.github.com/repos/pydata/xarray/issues/4482 | MDEyOklzc3VlQ29tbWVudDcwNDA2NDM3MA== | shoyer 1217238 | 2020-10-06T06:38:51Z | 2020-10-06T06:38:51Z | MEMBER | I agree this would be welcome! Even if it isn't much faster than the options already shown here, at least we could point users to the best option we know of. I suspect achieving the full speed of |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow skipna in .dot() 713834297 | |
702965721 | https://github.com/pydata/xarray/issues/4482#issuecomment-702965721 | https://api.github.com/repos/pydata/xarray/issues/4482 | MDEyOklzc3VlQ29tbWVudDcwMjk2NTcyMQ== | mathause 10194086 | 2020-10-02T21:27:33Z | 2020-10-02T21:27:33Z | MEMBER | Yes that would be very helpful. This is used for the weighted operations: and it would be great if this could be done upstream. However, |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow skipna in .dot() 713834297 | |
702939943 | https://github.com/pydata/xarray/issues/4482#issuecomment-702939943 | https://api.github.com/repos/pydata/xarray/issues/4482 | MDEyOklzc3VlQ29tbWVudDcwMjkzOTk0Mw== | heerad 2560426 | 2020-10-02T20:20:53Z | 2020-10-02T20:32:32Z | NONE | Great, looks like I missed that option. Thanks. For reference, |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow skipna in .dot() 713834297 | |
702937094 | https://github.com/pydata/xarray/issues/4482#issuecomment-702937094 | https://api.github.com/repos/pydata/xarray/issues/4482 | MDEyOklzc3VlQ29tbWVudDcwMjkzNzA5NA== | max-sixty 5635139 | 2020-10-02T20:13:37Z | 2020-10-02T20:13:37Z | MEMBER | I agree this would be a welcome option. As a workaround, you could fillna with zero? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow skipna in .dot() 713834297 |
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