eland.Series.rmod#
- Series.rmod(left: Series) Series #
返回系列和左边的模数,逐元素(二元运算符 mod %)。
参数#
left: eland.Series
返回值#
eland.Series
示例#
>>> df = ed.DataFrame('http://localhost:9200', 'ecommerce').head(5) >>> df.taxful_total_price 0 36.98 1 53.98 2 199.98 3 174.98 4 80.98 Name: taxful_total_price, dtype: float64 >>> 500.0 % df.taxful_total_price 0 19.260006 1 14.180004 2 100.040009 3 150.040009 4 14.119980 Name: taxful_total_price, dtype: float64