issue_comments: 408230809
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/2312#issuecomment-408230809 | https://api.github.com/repos/pydata/xarray/issues/2312 | 408230809 | MDEyOklzc3VlQ29tbWVudDQwODIzMDgwOQ== | 17162724 | 2018-07-26T20:50:22Z | 2018-07-26T20:50:22Z | CONTRIBUTOR | @fujiisoup I would like to add another example on how to update a I tried using I used ``` import xarray as xr import pandas as pd import numpy as np da_dt64 = xr.DataArray([1, 3], [('time', pd.date_range('1/1/2000', '1/3/2000', periods=2))]) a = da_dt64.interp(time=np.datetime64('2000-01-02')) xr.concat([da_dt64, a], dim='time') <xarray.DataArray (time: 3)>array([ 1., 3., 2.])Coordinates:* time (time) datetime64[ns] 2000-01-01 2000-01-03 2000-01-02``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
344608441 |