Skip to content

Commit

Permalink
DOC: Fixed flake8 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nagesh-kumar-abinbev committed Oct 18, 2020
1 parent 6bffc95 commit 07fb8f9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
3 changes: 2 additions & 1 deletion pandas/core/groupby/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ class providing the base-class of operations.
See Also
--------
Series.%(name)s : Apply a function %(name)s to a Series.
DataFrame.%(name)s : Apply a function %(name)s to each row or column of a DataFrame.
DataFrame.%(name)s : Apply a function %(name)s
to each row or column of a DataFrame.
"""

_apply_docs = dict(
Expand Down
17 changes: 11 additions & 6 deletions pandas/core/resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def __iter__(self):
See Also
--------
GroupBy.__iter__ : Generator yielding sequence of (name, subset object) for each group
GroupBy.__iter__ : Generator yielding sequence for each group
"""
self._set_binner()
return super().__iter__()
Expand Down Expand Up @@ -235,9 +235,12 @@ def pipe(self, func, *args, **kwargs):
"""
See Also
--------
DataFrame.groupby.aggregate : Aggregate using callable, string, dict, or list of string/callables
DataFrame.resample.transform : Transforms the Series on each group based on the given function.
DataFrame.aggregate: Aggregate using one or more operations over the specified axis.
DataFrame.groupby.aggregate :
Aggregate using callable, string, dict, or list of string/callables
DataFrame.resample.transform :
Transforms the Series on each group based on the given function.
DataFrame.aggregate:
Aggregate using one or more operations over the specified axis.
"""
)

Expand Down Expand Up @@ -917,9 +920,11 @@ def quantile(self, q=0.5, **kwargs):
Series.quantile
Return a series, where the index is q and the values are the quantiles
DataFrame.quantile
Return a DataFrame, where the columns are the columns of self, and the values are the quantiles.
Return a DataFrame, where the columns are the columns of self,
and the values are the quantiles.
DataFrameGroupBy.quantile
Return a DataFrame, where the coulmns are groupby columns, and the values are its quantiles.
Return a DataFrame, where the coulmns are groupby columns,
and the values are its quantiles.
"""
return self._downsample("quantile", q=q, **kwargs)

Expand Down

0 comments on commit 07fb8f9

Please sign in to comment.