issue_comments: 843725376
This data as json
| 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/3929#issuecomment-843725376 | https://api.github.com/repos/pydata/xarray/issues/3929 | 843725376 | MDEyOklzc3VlQ29tbWVudDg0MzcyNTM3Ng== | 35295509 | 2021-05-19T03:52:00Z | 2021-05-19T03:52:00Z | NONE | I create this function which works pretty good, idk if it is of any help: ``` import xarray as xr import dask.dataframe as dd def dask_2_xarray(ddf, indexname='index'): ds = xr.Dataset() ds[indexname] = ddf.index for key in ddf.columns: ds[key] = (indexname, ddf[key].to_dask_array().compute_chunk_sizes()) return ds use:ds = dask_2_xarray(ddf) ``` |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
593029940 |