pyspark.pandas.Series.divmod

Series.divmod(other: Any) → Tuple[pyspark.pandas.series.Series, pyspark.pandas.series.Series]

Return Integer division and modulo of series and other, element-wise (binary operator divmod).

Parameters
otherSeries or scalar value
Returns
2-Tuple of Series

The result of the operation.

See also

Series.rdivmod