<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Sat, Nov 10, 2018 at 2:15 PM Eric Wieser <<a href="mailto:wieser.eric%2Bnumpy@gmail.com">wieser.eric+numpy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">> <span style="color:rgb(33,33,33)">If the only way MaskedArray violates Liskov is in terms of NA skipping aggregations by default, then this might be viable<br><br>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.</span><div><span style="color:rgb(33,33,33)"><br></span></div><div><span style="color:rgb(33,33,33)">Eric</span></div></div></blockquote><div><br></div><div>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.</div><div><br></div><div><snip></div><div><br></div><div>Chuck </div></div></div>