[Python-ideas] PEP pre-draft: Support for indexing with keyword arguments
Ethan Furman
ethan at stoneleaf.us
Fri Jul 4 23:07:41 CEST 2014
On 07/04/2014 01:39 PM, Nathaniel Smith wrote:
> On Fri, Jul 4, 2014 at 9:10 PM, Tim Delaney wrote:
>
> Your hack (aside from being pointlessly ugly) would actually prevent
> pandas from using this feature. In pandas, slices like foo["a":"b"]
> already have a meaning (i.e., take all items from the one labeled "a"
> to the one labeled "b").
Isn't that the standard way slices are supposed to be used though? Instead of integers Panda is allowing strings. How
would Pandas use the new feature?
--
~Ethan~
More information about the Python-ideas
mailing list