| [ Web Proxy ] |
| Viewing: https://dataframes.bigquery.dev/reference/api/bigframes.pandas.DataFrame.rtruediv.html | [Back] [Original] |
Section Navigation
Get floating division of DataFrame and other, element-wise (binary operator /).
Equivalent to other / dataframe. With reverse version, truediv.
Among flexible wrappers (add, sub, mul, div, mod, pow) to arithmetic operators: +, -, *, /, //, %, **.
Note
Mismatched indices will be unioned together.
Examples:
>>> df = bpd.DataFrame({
... 'A': [1, 2, 3],
... 'B': [4, 5, 6],
... })
>>> df['A'].rtruediv(df['B'])
0 4.0
1 2.5
2 2.0
dtype: Float64
Its equivalent to using arithmetic operator: /:
>>> df['B'] / (df['A'])
0 4.0
1 2.5
2 2.0
dtype: Float64
DataFrame result of the arithmetic operation.
Copyright 2019, Google.
Created using Sphinx 8.1.3.
Built with the PyData Sphinx Theme 0.19.0.
| Web Proxy Viewer | New URL | Original Page |