DataFrame.mul()

pandas.DataFrame.mul

DataFrame.mul(other, axis=’columns’, level=None, fill_value=None) [source]

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

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

Parameters:

other : Series, DataFrame, or constant

axis : {0, 1, ‘index’, ‘columns’}

For Series input, axi