![](https://secure.gravatar.com/avatar/96dd777e397ab128fedab46af97a3a4a.jpg?s=120&d=mm&r=g)
10 Nov
2018
10 Nov
'18
4:39 p.m.
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