Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 570 Bytes

danfo.series.mul.md

File metadata and controls

26 lines (16 loc) · 570 Bytes
description
Return Multiplication of series and other, element-wise (binary operator mul).

danfo.Series.mul

Return Multiplication of series and other, element-wise (binary operator mul).

Equivalent to series * other, but with support to substitute a fill_value for missing data in one of the inputs.

        **parameter:** {Series, Number to multiply with.

        **return:** Series

Example

let data1 = [30, 40, 3, 5]
let data2 = [1, 2, 3, 4]
let sf1 = new Series(data1)
let sf2 = new Series(data2)
sf1.mul(sf2)