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

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.24.2/reference/api/pandas.Panel.subtract.html