pdstools.ih.Plots¶
Classes¶
Module Contents¶
- class Plots(ih: pdstools.ih.IH.IH)¶
Bases:
pdstools.utils.namespaces.LazyNamespace
- Parameters:
ih (pdstools.ih.IH.IH)
- ih¶
- overall_gauges(condition: str | polars.Expr, *, metric: str | None = 'Engagement', by: str | None = 'Channel', reference_values: Dict[str, float] | None = None, title: str | None = None, query: pdstools.utils.types.QUERY | None = None, return_df: bool | None = False)¶
- response_count_tree_map(*, by: List[str] | None = None, title: str | None = None, query: pdstools.utils.types.QUERY | None = None, return_df: bool | None = False)¶
- success_rate_tree_map(*, metric: str | None = 'Engagement', by: List[str] | None = None, title: str | None = None, query: pdstools.utils.types.QUERY | None = None, return_df: bool | None = False)¶
- action_distribution(*, by: str | None = 'Name', title: str | None = 'Action Distribution', query: pdstools.utils.types.QUERY | None = None, color: str | None = None, facet: str | None = None, return_df: bool | None = False)¶
- success_rate(*, metric: str | None = 'Engagement', every: str | datetime.timedelta = '1d', title: str | None = None, query: pdstools.utils.types.QUERY | None = None, facet: str | None = None, return_df: bool | None = False)¶
- response_count(*, every: str | datetime.timedelta = '1d', title: str | None = 'Responses', query: pdstools.utils.types.QUERY | None = None, facet: str | None = None, return_df: bool | None = False)¶
- Parameters:
every (Union[str, datetime.timedelta])
title (Optional[str])
query (Optional[pdstools.utils.types.QUERY])
facet (Optional[str])
return_df (Optional[bool])