Skip to content

Commit 3bc7762

Browse files
committed
Update comparison_with_r.rst
rm index
1 parent 4c76f89 commit 3bc7762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/comparison_with_r.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The :meth:`~pandas.DataFrame.isin` method is similar to R ``%in%`` operator:
8282

8383
.. ipython:: python
8484
85-
s = pd.Series(np.arange(5),index=np.arange(5)[::-1],dtype=np.float32)
85+
s = pd.Series(np.arange(5),dtype=np.float32)
8686
s.isin([2, 4])
8787
8888
The ``match`` function returns a vector of the positions of matches

0 commit comments

Comments
 (0)