Skip to content

Commit 7eef78d

Browse files
authored
fixed PEP8 issue, typo and removed import
1 parent 5375ba3 commit 7eef78d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pandas/core/series.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
from __future__ import division
55

6-
# pylint: disable=E1101,E1103combine
6+
# pylint: disable=E1101,E1103
77
# pylint: disable=W0703,W0622,W0613,W0201
88

99
import warnings
@@ -2296,7 +2296,6 @@ def combine(self, other, func, fill_value=None):
22962296
22972297
Examples
22982298
--------
2299-
>>> import pandas as pd
23002299
>>> s1 = pd.Series([1, 2])
23012300
>>> s2 = pd.Series([0, 3])
23022301
>>> s1.combine(s2, lambda x1, x2: x1 if x1 < x2 else x2)
@@ -2312,9 +2311,8 @@ def combine(self, other, func, fill_value=None):
23122311
dtype: int64
23132312
23142313
When fill_value is given:-
2315-
23162314
>>> s1.combine(s2, lambda x1, x2: x1 if x1 > x2 else x2,
2317-
... fill_value = 787)
2315+
... fill_value = 787)
23182316
0 1
23192317
1 3
23202318
2 787

0 commit comments

Comments
 (0)