issue_comments: 386939918
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/pull/2105#issuecomment-386939918 | https://api.github.com/repos/pydata/xarray/issues/2105 | 386939918 | MDEyOklzc3VlQ29tbWVudDM4NjkzOTkxOA== | 1217238 | 2018-05-07T02:23:13Z | 2018-05-07T02:23:13Z | MEMBER |
To clarify: I would like to be able to round-trip something like the following dataset to netCDF. The following code should still work without raising an error: ``` In [30]: import xarray In [31]: import pandas as pd In [32]: ds = xarray.Dataset({'foo': ('dt', [1, 2, 3])}, {'dt': pd.to_timedelta(['1 day', '2 days', ' ...: 3 days'])}) In [33]: ds Out[33]: <xarray.Dataset> Dimensions: (dt: 3) Coordinates: * dt (dt) timedelta64[ns] 1 days 2 days 3 days Data variables: foo (dt) int64 1 2 3 In [34]: assert ds.identical(xarray.open_dataset(ds.to_netcdf())) ``` |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
320283034 |