issue_comments: 825050144
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/5205#issuecomment-825050144 | https://api.github.com/repos/pydata/xarray/issues/5205 | 825050144 | MDEyOklzc3VlQ29tbWVudDgyNTA1MDE0NA== | 5635139 | 2021-04-22T17:34:39Z | 2021-04-22T17:34:39Z | MEMBER | I got the sign wrong, corrected: ``` In [4]: lower_inf = lower.where(lower.notnull(), -np.inf) In [5]: da.clip(lower_inf, upper) Out[5]: <xarray.DataArray (x: 3, y: 6)> array([[ 1., 1., 2., 3., 4., 4.], [ 6., 7., 8., 9., 10., 10.], [12., 13., 14., 14., 14., 14.]]) Coordinates: * x (x) int64 0 1 2 * y (y) int64 0 1 2 3 4 5 ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
864494256 |