Skip to content

Commit de2a6e2

Browse files
committed
fixed PEP8 issue, typo and removed import
1 parent bf123bd commit de2a6e2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pandas/core/series.py

Lines changed: 2 additions & 4 deletions
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
@@ -2315,7 +2315,6 @@ def combine(self, other, func, fill_value=None):
23152315
23162316
Examples
23172317
--------
2318-
>>> import pandas as pd
23192318
>>> s1 = pd.Series([1, 2])
23202319
>>> s2 = pd.Series([0, 3])
23212320
>>> s1.combine(s2, lambda x1, x2: x1 if x1 < x2 else x2)
@@ -2331,9 +2330,8 @@ def combine(self, other, func, fill_value=None):
23312330
dtype: int64
23322331
23332332
When fill_value is given:-
2334-
23352333
>>> s1.combine(s2, lambda x1, x2: x1 if x1 > x2 else x2,
2336-
... fill_value = 787)
2334+
... fill_value = 787)
23372335
0 1
23382336
1 3
23392337
2 787

0 commit comments

Comments
 (0)