html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/6997#issuecomment-1240627565,https://api.github.com/repos/pydata/xarray/issues/6997,1240627565,IC_kwDOAMm_X85J8nlt,17484729,2022-09-08T12:06:47Z,2022-09-08T12:06:47Z,NONE,"Ok, thanks, that solves the problem!","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1363366455 https://github.com/pydata/xarray/issues/6997#issuecomment-1240431012,https://api.github.com/repos/pydata/xarray/issues/6997,1240431012,IC_kwDOAMm_X85J73mk,17484729,2022-09-08T08:59:00Z,2022-09-08T08:59:00Z,NONE,"Hi @mathause, I'm in version 0.18.2.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1363366455 https://github.com/pydata/xarray/issues/2799#issuecomment-863062212,https://api.github.com/repos/pydata/xarray/issues/2799,863062212,MDEyOklzc3VlQ29tbWVudDg2MzA2MjIxMg==,17484729,2021-06-17T08:57:28Z,2021-06-17T08:57:28Z,NONE,"Hello, I don't want to disrupt the issue too much (so let me know if you'd rather we continue the discussion outside). Somewhat related to the discussions in this issue, I recently released an open-source library: WAX-ML, https://github.com/eserie/wax-ml, where I implement an accessor to unroll JAX transformations on DataSet and Dataarray xarray containers along a time dimension. I hope this can help! ","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,416962458 https://github.com/pydata/xarray/issues/2799#issuecomment-797116001,https://api.github.com/repos/pydata/xarray/issues/2799,797116001,MDEyOklzc3VlQ29tbWVudDc5NzExNjAwMQ==,17484729,2021-03-11T23:20:50Z,2021-03-11T23:20:50Z,NONE,"> FWIW, I think the xarray-lite concept would be a great chunk of work to write a small-ish proposal around. I think we could target the next round of CZI EOSS with such a concept. @jhamman I'll be happy to participate in the discussion.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,416962458 https://github.com/pydata/xarray/issues/2799#issuecomment-790546398,https://api.github.com/repos/pydata/xarray/issues/2799,790546398,MDEyOklzc3VlQ29tbWVudDc5MDU0NjM5OA==,17484729,2021-03-04T11:29:37Z,2021-03-04T11:29:37Z,NONE,"In case it could be usefull, and be reused for benchmarks, I released on my [github](https://github.com/eserie/fast_buffer_array) two notebooks with an implementation of a faster (but somehow very simplified and not very optimized in term of code architecture) version of DataArray and Dataset containers. The second notebook contains some line profilings for buffer experiments with various containers. This permits to point on operations which are slow in Datarray implementation for this use case. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,416962458 https://github.com/pydata/xarray/issues/2799#issuecomment-786837666,https://api.github.com/repos/pydata/xarray/issues/2799,786837666,MDEyOklzc3VlQ29tbWVudDc4NjgzNzY2Ng==,17484729,2021-02-26T19:06:08Z,2021-02-26T19:07:20Z,NONE,"Thanks all for your prompt responses! @hmaarrfk , I share your recommendation and it's a great thing to be able to fallback to numpy arrays when the algorithmic part is well decoupled from the data preparation process. It's what I also do when I can. However, in workflows working on streaming data the two things (data preparation and computation) may be intricated or frequently alternated. My example of ""buffer data array"" structure is something quite natural to consider in such a context and having an efficient implementation of labelled ndarray could really serve the task. @shoyer I think a first ""lite"" implementation fully implemented in python could be already a great thing. It would not achieve numpy performance, but the additional cost du to management of coordinates alignement should not be too expensive. An additional suggestion: if the target is computational workflows, trying to have some compatibility with packages such as [eagerpy](https://github.com/jonasrauber/eagerpy) would enabling working with other tensor frameworks commonly used in machine learning. This kind of feature could be adressed yet in another package, but having it in mind may influence the early choices in term of implementation (ex: pure python vs C++). @jhamman, @shoyer I would be pleased to share my work on buffer data array if you think it could serve as kind of use-case. In this context, I experimented a bit with a « crafted » lite version of xarray and I could achieve a x10 factor in performance improvement. ","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,416962458 https://github.com/pydata/xarray/issues/2799#issuecomment-786759897,https://api.github.com/repos/pydata/xarray/issues/2799,786759897,MDEyOklzc3VlQ29tbWVudDc4Njc1OTg5Nw==,17484729,2021-02-26T16:43:23Z,2021-02-26T16:43:23Z,NONE,"Hi, I'm working on a machine learning application where I want to stream data and use xarray containers to store them in a buffer (with an additional ""lag"" dimension) and guaranty good alignement of the coordinates on various dimensions of the streamed data. Doing so, I noticed that the version of my code working with xarray is very slow when compared to a pure numpy implementation (with no coordinate alignement) or even an implementation with deque+pandas. I think the performance issue that I noticed is basically the same observation than the ones of this issue. I have the impression that for this kind of applications or more generally for intensive algorithmic usages, also as stated at the begining of this issue, a light (with less functionalities and checks) and fast version of xarray DataArray and Dataset containers could be developped. Do you think this could be something doable in the scope of xarray? Would it be preferable to create a dedicated library? ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,416962458