We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c092708 commit c6bde55Copy full SHA for c6bde55
doc/source/user_guide/computation.rst
@@ -182,7 +182,7 @@ assigned the mean of the ranks (by default) for the group:
182
183
.. ipython:: python
184
185
- s = pd.Series(np.random.np.random.randn(5), index=list('abcde'))
+ s = pd.Series(np.random.randn(5), index=list('abcde'))
186
s['d'] = s['b'] # so there's a tie
187
s.rank()
188
@@ -192,7 +192,7 @@ ranking.
192
193
194
195
- df = pd.DataFrame(np.random.np.random.randn(10, 6))
+ df = pd.DataFrame(np.random.randn(10, 6))
196
df[4] = df[2][:5] # some ties
197
df
198
df.rank(1)
0 commit comments