metric_forge.finance.polars_ext.Finance_Polars.commission_bps#
- Finance_Polars.commission_bps(
- revenue_column: str,
- bps_column: str,
Calculate commission based on basis points (bps).
Parameters: - revenue_column (str): The column containing revenue or transaction value. - bps_column (str): The column containing basis points (bps) for commission rate.
Returns: - pl.Expr: The calculated commission based on bps.