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/3290#issuecomment-529164037,https://api.github.com/repos/pydata/xarray/issues/3290,529164037,MDEyOklzc3VlQ29tbWVudDUyOTE2NDAzNw==,1217238,2019-09-08T02:41:58Z,2019-09-08T02:41:58Z,MEMBER,"For datetime64 arrays, use np.isnat() instead of isnan.
On Sat, Sep 7, 2019 at 7:39 PM Xin Zhang wrote:
> @keewis I tried to using
> np.isnan(t.values).all() to check whether it's all nan. But, I got this
> error:
>
> print (np.isnan(t.values).all())
> TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
>
> This is the type of t.values:
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> ,
> or mute the thread
>
> .
>
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,490593787
https://github.com/pydata/xarray/issues/3290#issuecomment-529163295,https://api.github.com/repos/pydata/xarray/issues/3290,529163295,MDEyOklzc3VlQ29tbWVudDUyOTE2MzI5NQ==,14808389,2019-09-08T02:27:23Z,2019-09-08T02:27:23Z,MEMBER,do you actually have any non-nan values in your array? From what I understand of how nanops work is that `AlwaysGreaterThan` should only be returned by `min()` if there are no non-nan values.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,490593787
https://github.com/pydata/xarray/issues/3290#issuecomment-529152703,https://api.github.com/repos/pydata/xarray/issues/3290,529152703,MDEyOklzc3VlQ29tbWVudDUyOTE1MjcwMw==,1217238,2019-09-07T22:43:48Z,2019-09-07T22:44:18Z,MEMBER,"I think this may have been fixed by https://github.com/pydata/xarray/pull/2924 (which removed the line with `dtypes.fill_value(value.dtype) if valid_count == 0 else data`)
Can you try upgrading to xarray 0.12.3?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,490593787
https://github.com/pydata/xarray/issues/3290#issuecomment-529083217,https://api.github.com/repos/pydata/xarray/issues/3290,529083217,MDEyOklzc3VlQ29tbWVudDUyOTA4MzIxNw==,5635139,2019-09-07T07:40:32Z,2019-09-07T07:40:32Z,MEMBER,"Thanks for the issue @zxdawn . Did you try doing this?
> NotImplementedError: min is not available with skipna=False with the installed version of numpy; upgrade to numpy 1.12","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,490593787