Skip to content

Commit f2b6fbe

Browse files
committed
pep8 fixes
1 parent cd7c66c commit f2b6fbe

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

pandas/core/generic.py

+7-5
Original file line numberDiff line numberDiff line change
@@ -3635,15 +3635,17 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None,
36353635
require that you also specify an `order` (int),
36363636
e.g. df.interpolate(method='polynomial', order=4).
36373637
These use the actual numerical values of the index.
3638-
* 'krogh', 'piecewise_polynomial', 'spline', 'pchip' and 'akima' are all
3639-
wrappers around the scipy interpolation methods of similar
3640-
names. These use the actual numerical values of the index. For
3641-
more information on their behavior, see the `scipy documentation
3638+
* 'krogh', 'piecewise_polynomial', 'spline', 'pchip' and 'akima'
3639+
are all wrappers around the scipy interpolation methods of
3640+
similar names. These use the actual numerical values of the
3641+
index. For more information on their behavior, see the
3642+
`scipy documentation
36423643
<http://docs.scipy.org/doc/scipy/reference/interpolate.html#univariate-interpolation>`__
36433644
and `tutorial documentation
36443645
<http://docs.scipy.org/doc/scipy/reference/tutorial/interpolate.html>`__
36453646
* 'from_derivatives' refers to BPoly.from_derivatives which
3646-
replaces 'piecewise_polynomial' interpolation method in scipy 0.18
3647+
replaces 'piecewise_polynomial' interpolation method in
3648+
scipy 0.18
36473649
36483650
.. versionadded:: 0.18.1
36493651

pandas/tools/plotting.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2893,7 +2893,8 @@ def hist_frame(data, column=None, by=None, grid=True, xlabelsize=None,
28932893
invisible
28942894
figsize : tuple
28952895
The size of the figure to create in inches by default
2896-
layout : (optional) a tuple (rows, columns) for the layout of the histograms
2896+
layout : tuple, optional
2897+
Tuple of (rows, columns) for the layout of the histograms
28972898
bins : integer, default 10
28982899
Number of histogram bins to be used
28992900
kwds : other plotting keyword arguments

0 commit comments

Comments
 (0)