issue_comments: 436606451
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/2547#issuecomment-436606451 | https://api.github.com/repos/pydata/xarray/issues/2547 | 436606451 | MDEyOklzc3VlQ29tbWVudDQzNjYwNjQ1MQ== | 21049064 | 2018-11-07T12:24:36Z | 2018-11-07T12:25:02Z | NONE | The ds.time[0] won't let me set it's value to a datetime. Instead it returns a float:
And none of the following work: ```python doesn't change the time valueds.time[0].values = times[0] returns an error because I can't assign to a function callds.time[0].item() = times[0] returns ValueError: replacement data must match the Variable's shapeds['time'].values = np.array(times[0]) ``` Thanks for your help! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
377947810 |