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/5008#issuecomment-840430617,https://api.github.com/repos/pydata/xarray/issues/5008,840430617,MDEyOklzc3VlQ29tbWVudDg0MDQzMDYxNw==,14371165,2021-05-13T09:14:34Z,2021-05-13T09:14:34Z,MEMBER,"@dcherian, renamed the parameter and fixed some errors due to the #5102 merge.
Docs failure seems unrelated.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,823955593
https://github.com/pydata/xarray/pull/5008#issuecomment-798252585,https://api.github.com/repos/pydata/xarray/issues/5008,798252585,MDEyOklzc3VlQ29tbWVudDc5ODI1MjU4NQ==,14371165,2021-03-13T12:05:00Z,2021-03-13T12:05:00Z,MEMBER,"Well, as a user I was very confused why my boolean variables silently disappeared.
And I don't get why `ds.interp` has any mandate to drop variables, if it can't handle interpolating a variable with the method an error should've been raised.
But I'm a lazy user too so I of course would prefer to not have to deal with errors or figure out which variables were dropped and do multiple interpolation steps and finally merge the different datasets back together again. This is why I prefer ds.interp to do the only current method that makes sense for non-numerics rather than dropping them.
`ds.interp` currently only interpolates `if var.dtype.kind in ""uifc""`, so it ignores bools, strings, and objects for any method. Which made sense I think because the scipy interpolants always attempts to force to float. This is why I use `reindex_variables` as it both retains the dtype and handles strings/objects just fine.
I've added a parameter now `method_for_non_numerics` for these cases now, so now you can choose which reindex method you want.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,823955593
https://github.com/pydata/xarray/pull/5008#issuecomment-794715751,https://api.github.com/repos/pydata/xarray/issues/5008,794715751,MDEyOklzc3VlQ29tbWVudDc5NDcxNTc1MQ==,14371165,2021-03-10T01:39:30Z,2021-03-10T05:08:32Z,MEMBER,"How do you linearly interpolate strings, objects or booleans?
The problem for me is that we drop all the non-valid variables when I want linear interpolation for most of my stuff. One can argue it could be either of `bfill`, `ffill` or `nearest` but I chose `nearest` because that's an option for both `missing.interp` and `reindex_variables`. I suppose we can add it as an option? But what should the option be called when we want a backup interpolation method that does not modify the elementwise values? And should it then only be `reindex_variables` specific?
Another case I've been pondering how to handle is when numbers are used as IDs. Then it doesn't make sense to do interpolation that messes with the elements as well. But these integers are not easily determined though because you can use integers just for performance reasons and then wouldn't mind it becoming floats later. Maybe they will continue staying a special case.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,823955593