pdstools.decision_analyzer.plots._funnel

Funnel plots: optionality funnel, decision funnel, decisions-without-actions.

Functions

optionality_funnel(self, df)

decision_funnel(self, scope[, additional_filters, ...])

Return (passing_fig, filtered_fig) for the Action Funnel tabs.

decisions_without_actions_plot(self[, ...])

Bar chart showing decisions with no remaining actions per stage, as % of total.

Module Contents

optionality_funnel(self, df)
decision_funnel(self, scope: str, additional_filters: polars.Expr | list[polars.Expr] | None = None, return_df=False)

Return (passing_fig, filtered_fig) for the Action Funnel tabs.

passing_fig shows actions that exit each stage (Passing Actions tab). filtered_fig shows actions removed at each stage (Filtered Actions tab).

Parameters:
  • scope (str)

  • additional_filters (polars.Expr | list[polars.Expr] | None)

decisions_without_actions_plot(self, additional_filters: polars.Expr | list[polars.Expr] | None = None, return_df=False)

Bar chart showing decisions with no remaining actions per stage, as % of total.

Parameters:

additional_filters (polars.Expr | list[polars.Expr] | None)