Skip to content

Commit 07fb8f9

Browse files
DOC: Fixed flake8 issue
1 parent 6bffc95 commit 07fb8f9

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

pandas/core/groupby/groupby.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ class providing the base-class of operations.
8080
See Also
8181
--------
8282
Series.%(name)s : Apply a function %(name)s to a Series.
83-
DataFrame.%(name)s : Apply a function %(name)s to each row or column of a DataFrame.
83+
DataFrame.%(name)s : Apply a function %(name)s
84+
to each row or column of a DataFrame.
8485
"""
8586

8687
_apply_docs = dict(

pandas/core/resample.py

+11-6
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def __iter__(self):
131131
132132
See Also
133133
--------
134-
GroupBy.__iter__ : Generator yielding sequence of (name, subset object) for each group
134+
GroupBy.__iter__ : Generator yielding sequence for each group
135135
"""
136136
self._set_binner()
137137
return super().__iter__()
@@ -235,9 +235,12 @@ def pipe(self, func, *args, **kwargs):
235235
"""
236236
See Also
237237
--------
238-
DataFrame.groupby.aggregate : Aggregate using callable, string, dict, or list of string/callables
239-
DataFrame.resample.transform : Transforms the Series on each group based on the given function.
240-
DataFrame.aggregate: Aggregate using one or more operations over the specified axis.
238+
DataFrame.groupby.aggregate :
239+
Aggregate using callable, string, dict, or list of string/callables
240+
DataFrame.resample.transform :
241+
Transforms the Series on each group based on the given function.
242+
DataFrame.aggregate:
243+
Aggregate using one or more operations over the specified axis.
241244
"""
242245
)
243246

@@ -917,9 +920,11 @@ def quantile(self, q=0.5, **kwargs):
917920
Series.quantile
918921
Return a series, where the index is q and the values are the quantiles
919922
DataFrame.quantile
920-
Return a DataFrame, where the columns are the columns of self, and the values are the quantiles.
923+
Return a DataFrame, where the columns are the columns of self,
924+
and the values are the quantiles.
921925
DataFrameGroupBy.quantile
922-
Return a DataFrame, where the coulmns are groupby columns, and the values are its quantiles.
926+
Return a DataFrame, where the coulmns are groupby columns,
927+
and the values are its quantiles.
923928
"""
924929
return self._downsample("quantile", q=q, **kwargs)
925930

0 commit comments

Comments
 (0)