On Sat, Nov 10, 2018 at 2:15 PM Eric Wieser <wieser.eric+numpy@gmail.com> wrote:
If the only way MaskedArray violates Liskov is in terms of NA skipping aggregations by default, then this might be viable

One of the ways to fix these liskov substitution problems is just to introduce more base classes - for instance, if we had an `NDContainer` base class with only slicing support, then masked arrays would be an exact liskov substitution, but np.matrix would not.

Eric

I've had the same thought and wouldn't be surprised if others have considered that possibility. Travis would be a good guy to ask about that.

<snip>

Chuck