Repository navigation
Conversation
|
Other reasons to use NaN instead of a new MaskedQuantity class that has a separate
This brings up an important philosophical distinct that the data are really missing as opposed to being hidden by a mask. Once an item is marked as missing there is no getting it back. I think this is actually a good thing - it removes this concept of "what is behind the mask", which I have seen to be a source of confusion. Also removes the concept of "hardening" the mask. |
|
Rebased this off of #6028 to include the |
|
@mhvk - any chance you can decide in the next few days whether you would be OK with the concept of using np.nan as a masking sentinel in Quantity? I'm keen to try to get this ready for 2.0, but if there isn't enough time for you to decide we can push this off until after 2.0. |
|
@taldcroft - I'm sorry I have been so long -- I'm trying to ensure that the I'm still intrigued by this, but worry that things are not quite as simple: with the current PR, any method like |
|
@taldcroft - I've been working a bit with tables with lots of masked items the last few days, and that made me realize ever more how great it would be if quantities and coordinates could indeed be masked. I wonder if it would be an idea to proceed more incrementally: for anything with a |
|
@mhvk - About providing a generic Note that with Coordinates there is really no reason to not use BTW this reminds me of more reasons that the Quantity Basically with the |
|
Hi humans 👋 - this pull request hasn't had any new commits for approximately 5 months. I plan to close this in a month if the pull request doesn't have any new commits by then. In lieu of a stalled pull request, please close this and open an issue instead to revisit in the future. Maintainers may also choose to add If you believe I commented on this issue incorrectly, please report this here. |
|
⏰ Time's up! ⏰ I'm going to close this pull request as per my previous message. If you think what is being added/fixed here is still important, please remember to open an issue to keep track of it. Thanks! If this is the first time I am commenting on this issue, or if you believe I closed this issue incorrectly, please report this here. |
This is a very minimal POC implementation of masking support using
np.nanas a masked item. This is mostly to allow Quantity to participate fully in table high-level operations.Looking for initial feedback from @mhvk. For instance the
maskcould be put intoQuantityInfo, but maybe the mask is more generally useful?