pandas / 0.24.2 / reference / api / pandas.panel.rsub.html /

pandas.Panel.rsub

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

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

Parameters:
other : DataFrame or Panel
axis : {items, major_axis, minor_axis}

Axis to broadcast over

Returns:
Panel

See also

Panel.sub

© 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.rsub.html