pandas.DataFrame.rdiv
pandas 3.1.1 · DataFrame · method
Divide the supplied value by the object's values with true division.
Call syntax
DataFrame.rdiv(other, axis='columns', level=None, fill_value=None)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
other |
Required Positional or keyword |
scalar, sequence, Series, dict or DataFrame Supply the second object or value used in the operation. |
axis |
Optional Positional or keyword Default 'columns' |
{0 or 'index', 1 or 'columns'} Choose which axis the operation acts on. The accepted axis labels depend on the receiver. |
level |
Optional Positional or keyword Default None |
int or label Choose an index level by name or integer position. |
fill_value |
Optional Positional or keyword Default None |
scalar or None Supply a value to use in place of a missing position. |
Returns
DataFrame