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 48f39af commit ec61b70Copy full SHA for ec61b70
doc/source/groupby.rst
@@ -747,7 +747,7 @@ The dimension of the returned result can also change:
747
.. ipython:: python
748
749
def f(x):
750
- return pd.Series([ x, x**2 ], index = ['x', 'x^s'])
+ return pd.Series([ x, x**2 ], index = ['x', 'x^2'])
751
s = pd.Series(np.random.rand(5))
752
s
753
s.apply(f)
@@ -971,7 +971,7 @@ Plotting
971
~~~~~~~~
972
973
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,
+suspect that some features in a DataFrame may differ by group, in this case,
975
the values in column 1 where the group is "B" are 3 higher on average.
976
977
0 commit comments