Repository navigation
DOC: Document ma.filled behavior with non-scalar fill_value - #13698
Conversation
|
I think examples would be nice. We should also standardize the |
eric-wieser
left a comment
There was a problem hiding this comment.
I'm not sure we want to document this, as remarked in the other issues you xref
|
We should implement the deprecation warning as in #13421, and add the examples from there. |
|
The test I have commented out is the one which fails due to |
|
@seberg when I added a check like
at the end of the |
There was a problem hiding this comment.
Needs a date and version comment so we know when we can turn the deprecation into an error
|
Release note needed for the new deprecation |
|
This looks almost ready, just need to add a 1.18.0 version number to the deprecation, and a release note. |
Actually, we deprecate non-scalar or matching fills as it is there, should check what we want to do.
|
Thanks @kritisingh1 |
Closes #4363
xref #13241 #10504
@mattip for now, I have just documented the behavior with non-scalar fill values. The PRs xref'ed above talked about deprecating the non-scalar nature(optional) of fill value. Do we really need to deprecate if we are already mentioning that, that behavior is not supported and throwing a meaningful error?
Also, should I include examples of what fill_values with input array combination could be risky?