Skip to content

Commit ec61b70

Browse files
gepceljreback
authored andcommitted
DOC: Update groupby.rst
closes pandas-dev#12762 closes pandas-dev#12763
1 parent 48f39af commit ec61b70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/groupby.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ The dimension of the returned result can also change:
747747
.. ipython:: python
748748
749749
def f(x):
750-
return pd.Series([ x, x**2 ], index = ['x', 'x^s'])
750+
return pd.Series([ x, x**2 ], index = ['x', 'x^2'])
751751
s = pd.Series(np.random.rand(5))
752752
s
753753
s.apply(f)
@@ -971,7 +971,7 @@ Plotting
971971
~~~~~~~~
972972

973973
Groupby also works with some plotting methods. For example, suppose we
974-
suspect that some features in a DataFrame my differ by group, in this case,
974+
suspect that some features in a DataFrame may differ by group, in this case,
975975
the values in column 1 where the group is "B" are 3 higher on average.
976976

977977
.. ipython:: python

0 commit comments

Comments
 (0)