pandas.Panel.subtract

Panel.subtract(other, axis=0)[source]

Subtraction of series and other, element-wise (binary operator sub). Equivalent to panel - other.

Parameters:

other : DataFrame or Panel

axis : {items, major_axis, minor_axis}

Axis to broadcast over

Returns:

Panel

See also

Panel.rsub

Scroll To Top