<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jul 3, 2014 at 1:48 PM, Sturla Molden <span dir="ltr"><<a href="mailto:sturla.molden@gmail.com" target="_blank">sturla.molden@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">Stephan Hoyer <<a href="mailto:shoyer@gmail.com">shoyer@gmail.com</a>> wrote:<br>
<br>
> Yes, this is true. However, in practice many implementations of labeled<br>
> arrays would have generic labeled axes, so they would need to use their own<br>
> logic to do the mapping in __getitem__ anyways.<br>
<br>
</div>If you are thiniking about Pandas, then each keyword should be allowed to<br>
take a slice as well.<br>
<br>
dataframe[apples=1:3, oranges=2:6]<br></blockquote><div><br></div><div>Yes, I am indeed thinking about pandas and other similar libraries. Supporting slices with keywords would be essential.</div><div><br></div><div>Stephan</div>
<div><br></div></div></div></div>