Yeah it would, I was thinking of something...strange.


On 8 January 2014 22:01, Joris Van den Bossche <notifications@github.com>wrote:

> In doc/source/comparison_with_r.rst:
>
> > +~~~~~~~~~~~~
> > +
> > +A common way to select data in R is using ``%in%`` which is defined using the
> > +function ``match``. The operator ``%in%`` is used to return a logical vector
> > +indicating if there is a match or not:
> > +
> > +.. code-block:: r
> > +
> > +   s <- 0:4
> > +   s %in% c(2,4)
> > +
> > +The :meth:`~pandas.DataFrame.isin` method is similar to R ``%in%`` operator:
> > +
> > +.. ipython:: python
> > +
> > +   s = pd.Series(np.arange(5),index=np.arange(5)[::-1],dtype=np.float32)
>
> Why the np.arange(5)[::-1]? Doesn't that make just more complicated for
> the reader to understand?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pydata/pandas/pull/5875/files#r8720691>
> .
>



-- 
Chapman