issue_comments
12 rows where issue = 659129613 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Add ability to change underlying array type · 12 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
739094107 | https://github.com/pydata/xarray/issues/4234#issuecomment-739094107 | https://api.github.com/repos/pydata/xarray/issues/4234 | MDEyOklzc3VlQ29tbWVudDczOTA5NDEwNw== | dcherian 2448579 | 2020-12-05T00:48:49Z | 2020-12-05T00:48:49Z | MEMBER | The indexes story will change soon, we may even have our own index classes. We should have pretty decent support for NEP-18 arrays in NEP35 is cool; looks like we should use it in our |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add ability to change underlying array type 659129613 | |
739066140 | https://github.com/pydata/xarray/issues/4234#issuecomment-739066140 | https://api.github.com/repos/pydata/xarray/issues/4234 | MDEyOklzc3VlQ29tbWVudDczOTA2NjE0MA== | quasiben 1403768 | 2020-12-04T22:56:23Z | 2020-12-04T22:56:23Z | MEMBER | Wanted to update on some recent work. With NEP35 (https://github.com/numpy/numpy/pull/16935, https://github.com/numpy/numpy/pull/17787) experimentally in NumPy, I've been exploring a bit more on using GPUs with xarray starting off with basic groupby workflows. There are places in the code where xarray calls pandas directly. For example, when building Indexes: This is going to be challenging primarily because xarray will need to determine which DataFrame library to use during Index creation (possibly other DataFrame objects). While there is a consortium developing potential solutions for libraries to leverage multiple dataframe libraries I was going to keep hacking away and see what other issues may be lurking. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add ability to change underlying array type 659129613 | |
660192634 | https://github.com/pydata/xarray/issues/4234#issuecomment-660192634 | https://api.github.com/repos/pydata/xarray/issues/4234 | MDEyOklzc3VlQ29tbWVudDY2MDE5MjYzNA== | jacobtomlinson 1610850 | 2020-07-17T16:07:31Z | 2020-07-17T16:08:34Z | CONTRIBUTOR | Those Yeah it is possible to read direct to GPU from storage with GDS. We've experimented a little with zarr, I expect if something like zarr got GDS support and a zarr dataset was configured to use GDS then
I think that would be best. However I did run into issues when trying to run the Compare weighted and unweighted mean temperature example with cupy. In that example the In my testing I just cast the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add ability to change underlying array type 659129613 | |
660180546 | https://github.com/pydata/xarray/issues/4234#issuecomment-660180546 | https://api.github.com/repos/pydata/xarray/issues/4234 | MDEyOklzc3VlQ29tbWVudDY2MDE4MDU0Ng== | dcherian 2448579 | 2020-07-17T15:46:15Z | 2020-07-17T15:46:15Z | MEMBER | See similar discussion for sparse here: https://github.com/pydata/xarray/issues/3245
I think we are also open to special A IIRC there's some way to read from disk to GPU, isn't there? So it makes sense to expose that in our Re: index variables.Can we avoid this for now? Or are there going to be performance issues? The general problem will be handled as part of the index refactor (we've deferred pint support for indexes for this reason). |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add ability to change underlying array type 659129613 | |
660156875 | https://github.com/pydata/xarray/issues/4234#issuecomment-660156875 | https://api.github.com/repos/pydata/xarray/issues/4234 | MDEyOklzc3VlQ29tbWVudDY2MDE1Njg3NQ== | jthielen 3460034 | 2020-07-17T15:03:01Z | 2020-07-17T15:03:01Z | CONTRIBUTOR | The accessors could also be where wrapped xarray methods could go (so in your previous example, it could be |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add ability to change underlying array type 659129613 | |
660154476 | https://github.com/pydata/xarray/issues/4234#issuecomment-660154476 | https://api.github.com/repos/pydata/xarray/issues/4234 | MDEyOklzc3VlQ29tbWVudDY2MDE1NDQ3Ng== | jacobtomlinson 1610850 | 2020-07-17T14:58:53Z | 2020-07-17T14:58:53Z | CONTRIBUTOR | The only things I can think of that would make sense initially in an accessor would be An accessor does seem like a reasonable place to put that logic, but it also seems like a tiny amount of code to make, ship and maintain a separate package for. Plus those methods will either need to be used or duplicated in the core codebase to support things like plotting. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add ability to change underlying array type 659129613 | |
660148433 | https://github.com/pydata/xarray/issues/4234#issuecomment-660148433 | https://api.github.com/repos/pydata/xarray/issues/4234 | MDEyOklzc3VlQ29tbWVudDY2MDE0ODQzMw== | jacobtomlinson 1610850 | 2020-07-17T14:48:01Z | 2020-07-17T14:54:41Z | CONTRIBUTOR | This does sound like an option. However there are many situations within xarray where we need explicit cupy logic. Converting back to numpy before plotting is one example. I don't think that kind of logic can live in an accessor. Unless you expect users to do something like this. ```python import xarray as xr import cupy as cp ds = xr.tutorial.load_dataset("air_temperature") gds = ds.cupy.to_cupy() Do some manipulation on the GPUGrab a time slicetime_slice = gds.air.isel(time=0) time_slice.cupy.to_numpy().plot() # I would hope that time_slice.plot() would work ``` I would be tempted to say that cupy is more like dask in that it is trying to implement the numpy array interface exactly but in a different paradigm (distributed, GPU, etc). And of course there are limitations and divergences because of the different paradigm. However it's not the same as pint which is trying to extend numpy and add more functionality. So it makes sense to me that accessors for pint exist to add this extra functionality to xarray. But at least in theory cupy should be a drop-in replacement for numpy. So I don't expect a huge amount of logic will live in an accessor, compared to the amount of compatibility code that will need to go into xarray itself. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add ability to change underlying array type 659129613 | |
660148938 | https://github.com/pydata/xarray/issues/4234#issuecomment-660148938 | https://api.github.com/repos/pydata/xarray/issues/4234 | MDEyOklzc3VlQ29tbWVudDY2MDE0ODkzOA== | jthielen 3460034 | 2020-07-17T14:48:59Z | 2020-07-17T14:48:59Z | CONTRIBUTOR | @jacobtomlinson Makes complete sense! Just wanted to make sure the option was considered as a possibility. |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add ability to change underlying array type 659129613 | |
660142143 | https://github.com/pydata/xarray/issues/4234#issuecomment-660142143 | https://api.github.com/repos/pydata/xarray/issues/4234 | MDEyOklzc3VlQ29tbWVudDY2MDE0MjE0Mw== | jthielen 3460034 | 2020-07-17T14:36:40Z | 2020-07-17T14:36:40Z | CONTRIBUTOR | @jacobtomlinson Indeed! A similar Though, to have those accessors be registered with just importing |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add ability to change underlying array type 659129613 | |
660136749 | https://github.com/pydata/xarray/issues/4234#issuecomment-660136749 | https://api.github.com/repos/pydata/xarray/issues/4234 | MDEyOklzc3VlQ29tbWVudDY2MDEzNjc0OQ== | jacobtomlinson 1610850 | 2020-07-17T14:26:35Z | 2020-07-17T14:32:03Z | CONTRIBUTOR | @jthielen Something like this? ```python import xarray as xr import cupy as cp @xr.register_dataset_accessor("cupy") class CupyAccessor: def to_cupy(self): """Convert all data arrays to cupy."""
``` Which would then be used like this. ```python import xarray as xr import cupy as cp ds = xr.open_mfdataset("/path/to/files/*.nc") gds = ds.cupy.to_cupy() ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add ability to change underlying array type 659129613 | |
660129151 | https://github.com/pydata/xarray/issues/4234#issuecomment-660129151 | https://api.github.com/repos/pydata/xarray/issues/4234 | MDEyOklzc3VlQ29tbWVudDY2MDEyOTE1MQ== | jthielen 3460034 | 2020-07-17T14:12:23Z | 2020-07-17T14:13:17Z | CONTRIBUTOR | @jacobtomlinson Have you considered implementing an accessor for this and any other CuPy-specific functionality? This is the approach we are taking with Pint integration (pint-xarray), and I wonder if it might also be a good approach for CuPy. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add ability to change underlying array type 659129613 | |
660030480 | https://github.com/pydata/xarray/issues/4234#issuecomment-660030480 | https://api.github.com/repos/pydata/xarray/issues/4234 | MDEyOklzc3VlQ29tbWVudDY2MDAzMDQ4MA== | jacobtomlinson 1610850 | 2020-07-17T10:37:46Z | 2020-07-17T10:37:46Z | CONTRIBUTOR | cc @quasiben |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add ability to change underlying array type 659129613 |
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