Skip to content

Commit 658ea82

Browse files
DOC:Add fill_value to example for SERIES.multiply() (pandas-dev#24589)
1 parent 2f6173c commit 658ea82

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/ops.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -453,11 +453,11 @@ def _get_op_name(op, special):
453453
d 1.0
454454
e NaN
455455
dtype: float64
456-
>>> a.multiply(b)
456+
>>> a.multiply(b, fill_value=0)
457457
a 1.0
458-
b NaN
459-
c NaN
460-
d NaN
458+
b 0.0
459+
c 0.0
460+
d 0.0
461461
e NaN
462462
dtype: float64
463463
"""

0 commit comments

Comments
 (0)