Skip to content

Commit

Permalink
Resolve PR04 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescobonkerr committed Mar 3, 2019
1 parent 2b6d5f0 commit 3d23a42
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions pandas/core/groupby/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ class providing the base-class of operations.
from pandas.core.series import Series
from pandas.core.sorting import get_group_index_sorter

_common_see_also = """\
_common_see_also = """
See Also
--------
Series.%(name)s
DataFrame.%(name)s
Panel.%(name)s\
Panel.%(name)s
"""

_apply_docs = dict(
Expand Down Expand Up @@ -1106,9 +1106,7 @@ def mean(self, *args, **kwargs):
Returns
-------
pandas.Series or pandas.DataFrame
%(see_also)s
Examples
--------
>>> df = pd.DataFrame({'A': [1, 1, 2, 1, 2],
Expand Down Expand Up @@ -1564,9 +1562,7 @@ def nth(self, n, dropna=None):
dropna : None or str, optional
apply the specified dropna operation before counting which row is
the nth row. Needs to be None, 'any' or 'all'
%(see_also)s
Examples
--------
Expand Down Expand Up @@ -2139,9 +2135,7 @@ def head(self, n=5):
Essentially equivalent to ``.apply(lambda x: x.head(n))``,
except ignores as_index flag.
%(see_also)s
Examples
--------
Expand All @@ -2167,9 +2161,7 @@ def tail(self, n=5):
Essentially equivalent to ``.apply(lambda x: x.tail(n))``,
except ignores as_index flag.
%(see_also)s
Examples
--------
Expand Down

0 comments on commit 3d23a42

Please sign in to comment.