Skip to content

Commit 7fc2a21

Browse files
committed
Update comparison_with_r.rst
1 parent 3bc7762 commit 7fc2a21

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
@@ -98,7 +98,7 @@ this:
9898

9999
.. ipython:: python
100100
101-
s = pd.Series(np.arange(5),index=np.arange(5)[::-1],dtype=np.float32)
101+
s = pd.Series(np.arange(5),dtype=np.float32)
102102
s.apply(lambda x: [2, 4].index(x) if x in [2,4] else np.nan)
103103
104104
For more details and examples see :ref:`the reshaping documentation

0 commit comments

Comments
 (0)