[Pandas-dev] Colon available everywhere

Stephan Hoyer shoyer at gmail.com
Thu Jul 19 17:02:23 EDT 2018


Sure -- but good luck pursauding mainstream Python devs on that one!
On Thu, Jul 19, 2018 at 1:44 PM Pietro Battiston <me at pietrobattiston.it>
wrote:

> Il giorno gio, 19/07/2018 alle 13.35 -0700, Stephan Hoyer ha scritto:
> > I'd be pretty happy getting even operator.subscript into Python 3.8.
> > subscript[:, 0, ::-1] is way more readable than (slice(None), 0,
> > slice(None, None, -1)).
>
> I totally agree... but isn't
>
> (:, 0, ::-1)
>
> even better?
>
> Pietro
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pandas-dev/attachments/20180719/0a505abc/attachment.html>


More information about the Pandas-dev mailing list