Skip to content

Commit c6bde55

Browse files
jschendelWillAyd
authored andcommitted
Fix a typo in "computation.rst" in document. (pandas-dev#28400) (pandas-dev#28737)
1 parent c092708 commit c6bde55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/user_guide/computation.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ assigned the mean of the ranks (by default) for the group:
182182

183183
.. ipython:: python
184184
185-
s = pd.Series(np.random.np.random.randn(5), index=list('abcde'))
185+
s = pd.Series(np.random.randn(5), index=list('abcde'))
186186
s['d'] = s['b'] # so there's a tie
187187
s.rank()
188188
@@ -192,7 +192,7 @@ ranking.
192192

193193
.. ipython:: python
194194
195-
df = pd.DataFrame(np.random.np.random.randn(10, 6))
195+
df = pd.DataFrame(np.random.randn(10, 6))
196196
df[4] = df[2][:5] # some ties
197197
df
198198
df.rank(1)

0 commit comments

Comments
 (0)