Skip to content

Commit fbb63b3

Browse files
committed
Fix of Flake8 errors.
1 parent fd54af4 commit fbb63b3

File tree

6 files changed

+13
-11
lines changed

6 files changed

+13
-11
lines changed

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6056,7 +6056,7 @@ def _gotitem(self,
60566056
core.window.Rolling : Perform operations over rolling window.
60576057
core.window.Expanding : Perform operations over expanding window.
60586058
core.window.EWM : Perform operation over exponential weighted window.
6059-
6059+
60606060
Notes
60616061
-----
60626062
`agg` is an alias for `aggregate`. Use the alias.

pandas/core/groupby/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ class DataFrameGroupBy(NDFrameGroupBy):
12561256
DataFrame.groupby.apply
12571257
DataFrame.groupby.transform
12581258
DataFrame.aggregate
1259-
1259+
12601260
Notes
12611261
-----
12621262
`agg` is an alias for `aggregate`. Use the alias.

pandas/core/groupby/groupby.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2076,7 +2076,8 @@ def tail(self, n=5):
20762076
Examples
20772077
--------
20782078
2079-
>>> df = pd.DataFrame([['a', 1], ['a', 2], ['b', 1], ['b', 2]], columns=['A', 'B'])
2079+
>>> df = pd.DataFrame([['a', 1], ['a', 2], ['b', 1], ['b', 2]], \
2080+
columns=['A', 'B'])
20802081
>>> df.groupby('A').tail(1)
20812082
A B
20822083
1 a 2

pandas/core/resample.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def pipe(self, func, *args, **kwargs):
217217
DataFrame.groupby.aggregate
218218
DataFrame.resample.transform
219219
DataFrame.aggregate
220-
220+
221221
Notes
222222
-----
223223
`agg` is an alias for `aggregate`. Use the alias.
@@ -226,7 +226,8 @@ def pipe(self, func, *args, **kwargs):
226226
227227
Examples
228228
--------
229-
>>> s = pd.Series([1, 2, 3, 4, 5], index=pd.date_range('20130101', periods=5, freq='s'))
229+
>>> s = pd.Series([1, 2, 3, 4, 5], \
230+
index=pd.date_range('20130101', periods=5, freq='s'))
230231
2013-01-01 00:00:00 1
231232
2013-01-01 00:00:01 2
232233
2013-01-01 00:00:02 3

pandas/core/series.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3281,7 +3281,7 @@ def _gotitem(self, key, ndim, subset=None):
32813281
Series.apply : Invoke function on a Series.
32823282
Series.transform : Transform function producing
32833283
a Series with like indexes.
3284-
3284+
32853285
Notes
32863286
-----
32873287
`agg` is an alias for `aggregate`. Use the alias.

pandas/core/window.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -698,13 +698,13 @@ def f(arg, *args, **kwargs):
698698
--------
699699
pandas.DataFrame.rolling.aggregate
700700
pandas.DataFrame.aggregate
701-
701+
702702
Notes
703703
-----
704704
`agg` is an alias for `aggregate`. Use the alias.
705705
706706
A passed user-defined-function will be passed a Series for evaluation.
707-
707+
708708
Examples
709709
--------
710710
>>> df = pd.DataFrame(np.random.randn(10, 3), columns=['A', 'B', 'C'])
@@ -1604,7 +1604,7 @@ def _validate_freq(self):
16041604
--------
16051605
Series.rolling
16061606
DataFrame.rolling
1607-
1607+
16081608
Notes
16091609
-----
16101610
`agg` is an alias for `aggregate`. Use the alias.
@@ -1898,7 +1898,7 @@ def _get_window(self, other=None):
18981898
DataFrame.expanding.aggregate
18991899
DataFrame.rolling.aggregate
19001900
DataFrame.aggregate
1901-
1901+
19021902
Notes
19031903
-----
19041904
`agg` is an alias for `aggregate`. Use the alias.
@@ -2208,7 +2208,7 @@ def _constructor(self):
22082208
`agg` is an alias for `aggregate`. Use the alias.
22092209
22102210
A passed user-defined-function will be passed a Series for evaluation.
2211-
2211+
22122212
Examples
22132213
--------
22142214
>>> df = pd.DataFrame(np.random.randn(10, 3), columns=['A', 'B', 'C'])

0 commit comments

Comments
 (0)